This commit is contained in:
Glenn Jocher 2019-12-13 17:34:19 -08:00
parent 6b8425b9ec
commit 4b368b704b
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ filename="coco2017labels.zip"
fileid="1cXZR_ckHki6nddOmcysCuuJFM--T-Q6L"
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null
curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
rm ./cookie ./$filename
rm ./cookie
# Unzip labels
unzip -q ${filename} # for coco.zip
@ -24,7 +24,7 @@ unzip -q train2017.zip
unzip -q val2017.zip
# (optional) Delete zip files
rm -rf *.zip
rm -rf *.zip ../*.zip
# cd out
cd ../..