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

完成训练时候save 档案出现问题 #156

Open
kirinhk opened this issue Mar 27, 2023 · 1 comment
Open

完成训练时候save 档案出现问题 #156

kirinhk opened this issue Mar 27, 2023 · 1 comment

Comments

@kirinhk
Copy link

kirinhk commented Mar 27, 2023

Exception has occurred: RuntimeError
[enforce fail at ..\caffe2\serialize\inline_container.cc:365] . invalid file name: model_data\.pt
  File "D:\ai\chatbot-master\Chatbot_pytorch\Seq2seqchatbot\execute.py", line 114, in train
    torch.save({'modelA_state_dict': encoder.state_dict(),
  File "D:\ai\chatbot-master\Chatbot_pytorch\Seq2seqchatbot\execute.py", line 165, in <module>
    train()
@Lin-cell-lab
Copy link

你要自己写一个本地路径就可以

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