Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run the program #27

Open
dqs12345 opened this issue Jul 16, 2023 · 3 comments
Open

Can't run the program #27

dqs12345 opened this issue Jul 16, 2023 · 3 comments

Comments

@dqs12345
Copy link

I encountered the following problem when executing "UTPUT_DIR=./checkpoint/fb15k237/ bash scripts/train_fb.sh".O How can I solve it
TypeError: Caught TypeError in replica 0 on device 0.
TypeError: forward() got an unexpected keyword argument 'return_dict'

@intfloat
Copy link
Owner

Have you made any code changes? And what's your version of transformers and pytroch?

I cannot reproduce your issue.

@dqs12345
Copy link
Author

Thank you very much for your reply. I redownloaded the code and configured the environment, and now it can run successfully

@lijun-1999
Copy link

非常感谢您的回复。我重新下载了代码并配置了环境,现在它可以成功运行了

您好,我在运行“OUTPUT_DIR=./checkpoint/wn18rr/ bash scripts/train_wn.sh”命令时,遇到RuntimeError: CUDA out of memory. 的问题,使用的环境是4卡v100,为什么还会遇到这个问题呀?想问您在运行实验时有遇到这个问题吗?是如何解决的呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants