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

Traceback (most recent call last): #389

Open
well-Wzg opened this issue Mar 23, 2023 · 1 comment
Open

Traceback (most recent call last): #389

well-Wzg opened this issue Mar 23, 2023 · 1 comment

Comments

@well-Wzg
Copy link

Traceback (most recent call last):
File "train_transe_FB15K237.py", line 41, in
transe.save_checkpoint('./checkpoint/transe.ckpt')
File "/root/ABC/openke/module/BaseModule.py", line 21, in save_checkpoint
torch.save(self.state_dict(), path)
File "/root/miniconda3/lib/python3.8/site-packages/torch/serialization.py", line 369, in save
with _open_file_like(f, 'wb') as opened_file:
File "/root/miniconda3/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/root/miniconda3/lib/python3.8/site-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './checkpoint/transe.ckpt'

@Yvonne-sq
Copy link

I have encountered the same problem, have you solved it upstairs? How to solve it? thank you

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