瀏覽代碼

Update dataset.py

Changed the Drive URLS, because they are being blocked by Google Drive Virus scan. These URLs should work better for programatic download.
J Ross Thomson 2 年之前
父節點
當前提交
778d5f3b53
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      hpc_ai/ai_science_climate/English/python/source_code/dataset.py

+ 2 - 2
hpc_ai/ai_science_climate/English/python/source_code/dataset.py

@@ -28,11 +28,11 @@ import gdown
 import os
 
 ## TC TL MODEL  
-url = 'https://drive.google.com/uc?id=1Rb9gKSDdLC8y8yMcDqeOHAGj9qA0mDLJ&export=download'
+url = 'https://drive.google.com/u/0/uc?export=download&confirm=jDXw&id=1Rb9gKSDdLC8y8yMcDqeOHAGj9qA0mDLJ'
 output = '/workspace/python/jupyter_notebook/Tropical_Cyclone_Intensity_Estimation/trained_16.h5'
 gdown.download(url, output, quiet=False,proxy=None)
 ## TC Dataset  
-url = 'https://drive.google.com/uc?id=1vMXpbWx_-DO8CNkG68eErzcREvfouT5d&export=download'
+url = 'https://drive.google.com/u/0/uc?export=download&confirm=lR5L&id=1vMXpbWx_-DO8CNkG68eErzcREvfouT5d'
 output = '/workspace/python/jupyter_notebook/Tropical_Cyclone_Intensity_Estimation/dataset.zip'
 gdown.cached_download(url, output, quiet=False,proxy=None,postprocess=gdown.extractall)