Sbrunoberenguel / FreDSNet

Code to test FreDSNet: Frequential Depth estimation and Semantic segmentation Network
GNU General Public License v3.0
39 stars 3 forks source link

such file or directory: 'ckpt/FreDSNet_weights.pth #3

Closed samikhan66 closed 1 year ago

samikhan66 commented 1 year ago

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'

Sbrunoberenguel commented 1 year ago

Hello,

this issue is addressed and solved in here

I'll try to update it ASAP