YiwuZhong / Sub-GC

[ECCV 2020] Official code for "Comprehensive Image Captioning via Scene Graph Decomposition"
MIT License
94 stars 15 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'data/COCO_graph_mask_1000_rm_duplicate/391895.npz' #11

Closed SikandarBakht closed 2 years ago

SikandarBakht commented 2 years ago

Hi, I have tried to reproduce the caption generation results but running the script produces the following error:

FileNotFoundError: [Errno 2] No such file or directory: 'data/COCO_graph_mask_1000_rm_duplicate/391895.npz'

I have unzipped the relevant .zip file from the gdrive link and added it to the proper directory.

YiwuZhong commented 2 years ago

Thanks for your interest! I tried downloading the data files and your error didn't happen. Please try re-downloading the zip files and extracting them again. You might also want to check whether 'data/COCO_graph_mask_1000_rm_duplicate/391895.npz' exists in your machine.

SikandarBakht commented 2 years ago

Thanks for the help. I was able to fix the issue by redownloading the zip files.