We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de38521 commit 5c1cc67Copy full SHA for 5c1cc67
data/scripts/COCO2014.sh
@@ -60,6 +60,21 @@ rm ../images/train2014.zip
60
rm ../images/val2014.zip
61
rm ./annotations_trainval2014.zip
62
63
+echo "Creating trainval35k dataset..."
64
+
65
+# Download annotations json
66
+echo "Downloading trainval35k annotations from S3"
67
+curl -LO https://s3.amazonaws.com/amdegroot-datasets/instances_trainval35k.json.zip
68
69
+# combine train and val
70
+echo "Combining train and val images"
71
+mkdir ../images/trainval35k
72
+cd ../images/train2014
73
+find -maxdepth 1 -name '*.jpg' -exec cp -t ../trainval35k {} + # dir too large for cp
74
+cd ../val2014
75
+find -maxdepth 1 -name '*.jpg' -exec cp -t ../trainval35k {} +
76
77
78
end=`date +%s`
79
runtime=$((end-start))
80
0 commit comments