I run main.py, but I got an error. The error is as follows. Can someone here help me solve this problem? Thank you very much!
error:
Traceback (most recent call last):
File "/home/cxd/PycharmProjects/LRW/main.py", line 20, in
model.load_state_dict(torch.load(options["general"]["pretrainedmodelpath"]))
File "/home/cxd/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 356, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'trainedmodel.pt'
I run main.py, but I got an error. The error is as follows. Can someone here help me solve this problem? Thank you very much!
error:
Traceback (most recent call last):
File "/home/cxd/PycharmProjects/LRW/main.py", line 20, in
model.load_state_dict(torch.load(options["general"]["pretrainedmodelpath"]))
File "/home/cxd/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 356, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'trainedmodel.pt'