-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake
29 lines (22 loc) · 1.06 KB
/
make
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
mkdir -p coco
cd coco
mkdir -p images
cd images
wget -c http://images.cocodataset.org/zips/train2017.zip
wget -c http://images.cocodataset.org/zips/val2017.zip
wget -c http://images.cocodataset.org/zips/test2017.zip
wget -c http://images.cocodataset.org/zips/unlabeled2017.zip
unzip -q train2017.zip && rm train2017.zip
unzip -q val2017.zip && rm val2017.zip
unzip -q test2017.zip && rm test2017.zip
unzip -q unlabeled2017.zip && rm unlabeled2017.zip
cd ../
wget -c http://images.cocodataset.org/annotations/annotations_trainval2017.zip
wget -c http://images.cocodataset.org/annotations/stuff_annotations_trainval2017.zip
wget -c http://images.cocodataset.org/annotations/image_info_test2017.zip
wget -c http://images.cocodataset.org/annotations/image_info_unlabeled2017.zip
unzip -q annotations_trainval2017.zip && rm annotations_trainval2017.zip
unzip -q stuff_annotations_trainval2017.zip && rm stuff_annotations_trainval2017.zip
unzip -q image_info_test2017.zip && rm image_info_test2017.zip
unzip -q image_info_unlabeled2017.zip && rm image_info_unlabeled2017.zip