a-PyTorch-Tutorial-to-Image-Captioning icon indicating copy to clipboard operation
a-PyTorch-Tutorial-to-Image-Captioning copied to clipboard

checkpoint

Open lzy119 opened this issue 5 years ago • 4 comments

lzy119 avatar Apr 25 '19 11:04 lzy119

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?

lzy119 avatar Apr 25 '19 11:04 lzy119

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

L0ittle avatar Jul 10 '19 02:07 L0ittle

same issue..

uuzgu avatar Apr 17 '20 13:04 uuzgu

Do not add ' ' to the path name.

NamHyelin avatar Mar 08 '23 05:03 NamHyelin