Closed BhavyaSoni31 closed 3 years ago
After correcting the path I get this error :- File "main.py", line 134, in main net.eval() AttributeError: 'dict' object has no attribute 'eval'
after correcting to this net.load_state_dict(torch.load(checkpoint_filepath),strict = False) on line 133 of main.py different error thrown :
Traceback (most recent call last):
File "main.py", line 362, in
Hi, the error is due to your inference directory structure. Make sure it looks like the attached screenshots and the content of the images_inference.txt are as shown.
when trying to run command described in readme for pre trained model evaluation I got this error. FileNotFoundError: [Errno 2] No such file or directory: './pretrained_models/curl_validpsnr_23.073045286204017_validloss_0.0701291635632515_testpsnr_23.584083321292365_testloss_0.061363041400909424_epoch_510_model.pt'