From 7e92f70e052210c849f6d16786e31cd3239f6f98 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 27 Feb 2020 12:19:06 -0800 Subject: [PATCH] updates --- utils/google_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/google_utils.py b/utils/google_utils.py index 92fde590..cbfa3ec6 100644 --- a/utils/google_utils.py +++ b/utils/google_utils.py @@ -23,7 +23,7 @@ def gdrive_download(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip'): "curl -Lb ./cookie -s \"https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=%s\" -o %s" % ( id, name), 'rm ./cookie'] - r = sum([os.system(x) for x in s]) # run commands, get return zeros + r = sum([os.system(x) for x in s][:2]) # run commands, get return zeros # Attempt small file download if not os.path.exists(name): # file size < 40MB