updates
This commit is contained in:
parent
3e33adb935
commit
d56efafee1
|
@ -16,18 +16,10 @@ unzip -q ${filename} # for coco.zip
|
||||||
# tar -xzf ${filename} # for coco.tar.gz
|
# tar -xzf ${filename} # for coco.tar.gz
|
||||||
rm ${filename}
|
rm ${filename}
|
||||||
|
|
||||||
# Download images
|
# Download and unzip images
|
||||||
cd coco/images
|
cd coco/images
|
||||||
curl http://images.cocodataset.org/zips/train2014.zip -o train2014.zip
|
f="train2014.zip" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f && rm $f
|
||||||
curl http://images.cocodataset.org/zips/val2014.zip -o val2014.zip
|
f="val2014.zip" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f && rm $f
|
||||||
|
|
||||||
# Unzip images
|
|
||||||
unzip -q train2014.zip
|
|
||||||
unzip -q val2014.zip
|
|
||||||
|
|
||||||
# (optional) Delete zip files
|
|
||||||
rm -rf *.zip
|
|
||||||
|
|
||||||
# cd out
|
# cd out
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue