stevehuanghe / image_captioning

Image captioning models in PyTorch
Apache License 2.0
37 stars 10 forks source link

Do you have the same problem in training #2

Closed 17000432 closed 5 years ago

17000432 commented 5 years ago

When I was training, I got an error and couldn't find the price./image/train2014_resized/COCO_val2014_0000000000257.jpg. I can't understand why the verified picture appears in the training folder.May I ask where the modification is needed? Thanks.

stevehuanghe commented 5 years ago

I will look into it tomorrow and get back to you.

When I was training, I got an error and couldn't find the price./image/train2014_resized/COCO_val2014_0000000000257.jpg. I can't understand why the verified picture appears in the training folder.May I ask where the modification is needed? Thanks.

stevehuanghe commented 5 years ago

The problem is now fixed, please download the new code. The problem was that the output path in resize.py is not the same as the one in the config.py file, but now I have remove the resize.py and let pytorch do the resizing. Please feel free to change the setting is config.py if you have different paths to the data.