From 88a2c71a9f88fcfd7e23c149423955d569af3573 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 10 Jul 2019 17:34:19 +0200 Subject: [PATCH] updates --- data/get_coco_dataset_gdrive.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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