salesforce / BLIP

PyTorch code for BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation
BSD 3-Clause "New" or "Revised" License
4.81k stars 641 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'export/share/datasets/vision/coco/images/val2014/COCO_val2014_000000184613.jpg' #218

Open Jingut opened 2 months ago

Jingut commented 2 months ago

I tried to run train_caption.py, but it says COCO_val2014_000000184613.jpg image could not be found in the eval() part of coco_karpathy_dataset.py.

Is there any solution?

watermeloniiiii commented 1 month ago

have you downloaded COCO dataset? The json file created by the script just provided a splitting strategy but no actual data. You have to download data by yourself.