sgrvinod / a-PyTorch-Tutorial-to-Image-Captioning

Show, Attend, and Tell | a PyTorch Tutorial to Image Captioning
MIT License
2.76k stars 713 forks source link

checkpoint #70

Open lzy119 opened 5 years ago

lzy119 commented 5 years ago

thanks for your wonderful project. i download your pretrained model and the corresponding word_map.but i meet some prombles. when i running python caption.py --img='f:\surf.jpeg' --model='f:/BEST_checkpoint_coco_5_cap_per_img_5_min_word_freq.pth.tar' --word_map='WORDMAP_coco_5_cap_per_img_5_min_word_freq.json' --beam_size=5 the following error occurred,OSError: [Errno 22] Invalid argument: "'f:/BEST_checkpoint_coco_5_cap_per_img_5_min_word_freq.pth.tar'" what should i do?

L0ittle commented 5 years ago

I met the same issue, too. I wanna know whether you have resolved this problem.

uuzgu commented 4 years ago

same issue..

NamHyelin commented 1 year ago

Do not add ' ' to the path name.