You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to run test.py or train.py in ubuntu, such error was occured:
loading the model from ./checkpoints/iter_120000_net_Flow.pth
Traceback (most recent call last):
File "test.py", line 39, in <module>
model.setup()
File "/home/abc/desktop/ClothFlow/Virtual-Try-On-master/models/base_model.py", line 46, in setup
self.load_networks(load_suffix)
File "/home/abc/desktop/ClothFlow/Virtual-Try-On-master/models/base_model.py", line 96, in load_networks
state_dict = torch.load(load_path, map_location='cpu')
File "/home/zzh/anaconda3/envs/py37/lib/python3.7/site-packages/torch/serialization.py", line 571, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/zzh/anaconda3/envs/py37/lib/python3.7/site-packages/torch/serialization.py", line 229, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/zzh/anaconda3/envs/py37/lib/python3.7/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: './checkpoints/iter_120000_net_Flow.pth'
the directory checkpoints is empty. I have not found the solution.
Your help will be much appreciated
The text was updated successfully, but these errors were encountered:
when I try to run test.py or train.py in ubuntu, such error was occured:
loading the model from ./checkpoints/iter_120000_net_Flow.pth
the directory checkpoints is empty. I have not found the solution.
Your help will be much appreciated
The text was updated successfully, but these errors were encountered: