Traceback (most recent call last):
File "inference.py", line 65, in
net,state_dict = model.loadweigths(args)
File "C:\Users\sami\FreDSNet\FreDSNet_model.py", line 395, in load_weigths
state_dict = torch.load(args.pth,maplocation='cpu')
File "C:\Users\sami\anaconda3\envs\FreDS\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as openedfile:
File "C:\Users\sami\anaconda3\envs\FreDS\lib\site-packages\torch\serialization.py", line 231, in _open_file_like
return _open_file(name_orbuffer, mode)
File "C:\Users\sami\anaconda3\envs\FreDS\lib\site-packages\torch\serialization.py", line 212, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'ckpt/FreDSNet_weights.pth'
Traceback (most recent call last): File "inference.py", line 65, in
net,state_dict = model.loadweigths(args)
File "C:\Users\sami\FreDSNet\FreDSNet_model.py", line 395, in load_weigths
state_dict = torch.load(args.pth,maplocation='cpu')
File "C:\Users\sami\anaconda3\envs\FreDS\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as openedfile:
File "C:\Users\sami\anaconda3\envs\FreDS\lib\site-packages\torch\serialization.py", line 231, in _open_file_like
return _open_file(name_orbuffer, mode)
File "C:\Users\sami\anaconda3\envs\FreDS\lib\site-packages\torch\serialization.py", line 212, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'ckpt/FreDSNet_weights.pth'