Last active
July 4, 2023 07:48
-
-
Save jss367/a8eb11e5abd6e674f35ebfbb1f0d801c to your computer and use it in GitHub Desktop.
Download coco dataset for detectron2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if you want to change the path | |
# you'll need to: | |
# export DETECTRON2_DATASETS=/home/jsimonelli/data/detectron2 | |
# or | |
# import os | |
# os.environ['DETECTRON2_DATASETS'] = '/home/jsimonelli/data/detectron2' | |
# detectron2 expects it to be in a folder called coco | |
mkdir coco | |
cd coco | |
wget -c http://images.cocodataset.org/annotations/annotations_trainval2017.zip | |
wget -c http://images.cocodataset.org/zips/train2017.zip | |
wget -c http://images.cocodataset.org/zips/val2017.zip | |
unzip annotations_trainval2017.zip | |
unzip train2017.zip | |
unzip val2017.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment