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

FileNotFoundError: [Errno 2] No such file or directory: 'ArtLine_650.pkl' #11

Closed
aaaaaaaaala opened this issue Jan 9, 2021 · 1 comment

Comments

@aaaaaaaaala
Copy link

~/share/artline-demo$ python3 app.py
Traceback (most recent call last):
File "app.py", line 29, in
pl.load_pkl()
File "app.py", line 24, in load_pkl
learn = load_learner(path, 'ArtLine_650.pkl')
File "/home/mo/.local/lib/python3.6/site-packages/fastai/basic_train.py", line 621, in load_learner
state = torch.load(source, map_location='cpu') if defaults.device == torch.device('cpu') else torch.load(source)
File "/home/mo/.local/lib/python3.6/site-packages/torch/serialization.py", line 571, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/mo/.local/lib/python3.6/site-packages/torch/serialization.py", line 229, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/mo/.local/lib/python3.6/site-packages/torch/serialization.py", line 210, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'ArtLine_650.pkl'

@jwenjian
Copy link
Owner

jwenjian commented Jan 9, 2021

Duplicate of #5

@jwenjian jwenjian marked this as a duplicate of #5 Jan 9, 2021
@jwenjian jwenjian closed this as completed Jan 9, 2021
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