Closed ShubhamRane closed 5 years ago
I'm also having this issue - how did you fix it @ShubhamRane ?
@jpds
In my case i was using the wrong path for the trained model.
Initially I used pretrained model path as
drive/My Drive/Pretrained/DeblurrGAN_last.index
However it should be
drive/My Drive/Pretrained/DeblurrGAN_last
The complete command for reference
python main.py --mode test_only --pre_trained_model "drive/My Drive/Pretrained/DeblurrGAN_last" --test_Blur_path "drive/My Drive/sample/"
!python 'drive/My Drive/Pretrained/DeblurGAN-tf/main.py' --mode test_only --pre_trained_model 'drive/My Drive/Pretrained/DeblurrGAN_last.index' --test_Blur_path 'drive/My Drive/Rafting/'
ValueError: The passed save_path is not a valid checkpoint: drive/My Drive/Pretrained/DeblurrGAN_last.indexI think there should be a meta file in addition to the two files in trained model