diff --git a/data/get_coco_dataset_gdrive.sh b/data/get_coco_dataset_gdrive.sh index 1bb13711..9ec3a1ef 100755 --- a/data/get_coco_dataset_gdrive.sh +++ b/data/get_coco_dataset_gdrive.sh @@ -1,9 +1,13 @@ #!/bin/bash # https://stackoverflow.com/questions/48133080/how-to-download-a-google-drive-url-via-curl-or-wget/48133859 +# Zip coco folder +# zip -r coco.zip coco +# tar -czvf coco.tar.gz coco + # Set fileid and filename filename="coco.zip" -fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco2014.zip +fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco.zip # Download from Google Drive, accepting presented query curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null