fengyang0317 / unsupervised_captioning

Code for Unsupervised Image Captioning
MIT License
215 stars 51 forks source link

The passed save_path is not a valid checkpoint #16

Closed atg93 closed 4 years ago

atg93 commented 4 years ago

Hi, Thank you for sharing your code. However, I countered a problem when I tried to run one of your command line on the github. When I run this command " python test_model.py --inc_ckpt ~/workspace/ckpt/inception_v4.ckpt\ --data_dir ~/dataset/mscoco/all_images --job_dir saving/model.ckpt-20000", it returns following error; ValueError: The passed save_path is not a valid checkpoint: saving/model.ckpt-20000. Moreover, I used your saving file in Gdrive, however there is no model.ckpt-2000, there are files like model.ckpt-2000.index and model.ckpt-2000.meta. How can I run test model using pretrained model ?

fengyang0317 commented 4 years ago

Did you see the checkpoint files at image

atg93 commented 4 years ago

Thank you for your answer. Yes, like I said I used your pretrained model which in your saving file, but still the code cannot find model.ckpt-2000.