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 · 2 comments
Open

Can't run the program #27

dqs12345 opened this issue Jul 16, 2023 · 2 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

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

2 participants