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

Dataset not available

Open Leo-Thomas opened this issue 2 years ago • 3 comments

I have tried to download the dataset but the link does not redirect anywhere. Maybe you have the dataset in another place or can you upload it to another place to download it?

Thanks for the help.

Leo-Thomas avatar Dec 27 '22 01:12 Leo-Thomas

@Leo-Thomas , yes the link to MSCOCO seems to be broken indeed. Here is how you can get the 2014 dataset

You can run this in a bash script:


mkdir coco
cd coco
mkdir images
cd images

wget -c http://images.cocodataset.org/zips/train2014.zip
wget -c http://images.cocodataset.org/zips/val2014.zip
wget -c http://images.cocodataset.org/zips/test2014.zip
wget -c http://images.cocodataset.org/zips/unlabeled2014.zip

unzip train2014.zip
unzip val2014.zip
unzip test2014.zip
unzip unlabeled2014.zip

rm train2014.zip
rm val2014.zip
rm test2014.zip
rm unlabeled2014.zip

cd ../
wget -c http://images.cocodataset.org/annotations/annotations_trainval2014.zip
wget -c http://images.cocodataset.org/annotations/stuff_annotations_trainval2014.zip
wget -c http://images.cocodataset.org/annotations/image_info_test2014.zip
wget -c http://images.cocodataset.org/annotations/image_info_unlabeled2014.zip

unzip annotations_trainval2014.zip
unzip stuff_annotations_trainval2014.zip
unzip image_info_test2014.zip
unzip image_info_unlabeled2014.zip

rm annotations_trainval2014.zip
rm stuff_annotations_trainval2014.zip
rm image_info_test2014.zip
rm image_info_unlabeled2014.zip

or you can alternatively call it from a jupyter notebook cell using %%bash before the commands, or by adding ! in front of each command.

AndreiMoraru123 avatar Jan 21 '23 19:01 AndreiMoraru123

http://cs.stanford.edu/people/karpathy/deepimagesent/caption_datasets.zip Here is the link of json file.

Nostalgist7 avatar Mar 22 '23 04:03 Nostalgist7

http://cs.stanford.edu/people/karpathy/deepimagesent/caption_datasets.zip please which folder can i place the downloaded file?

stanlitoai avatar Mar 28 '23 15:03 stanlitoai