Datasets:
Modalities:
Geospatial
Languages:
English
Size:
1M<n<10M
Tags:
street view imagery
open data
data fusion
urban analytics
GeoAI
volunteered geographic information
License:
Update download_folder.py
Browse files- download_folder.py +5 -5
download_folder.py
CHANGED
@@ -26,12 +26,12 @@ def download_folder(repo_id, repo_type, folder_path, local_dir):
|
|
26 |
|
27 |
|
28 |
# Download entire data/ folder
|
29 |
-
repo_id = "NUS-UAL/global-streetscapes"
|
30 |
-
repo_type = "dataset"
|
31 |
-
folder_path = "data/" # replace the folder you want
|
32 |
-
local_dir = "global-streetscapes/"
|
33 |
|
34 |
-
# By
|
35 |
download_folder(repo_id, repo_type, folder_path, local_dir)
|
36 |
|
37 |
# Download 2 additional files
|
|
|
26 |
|
27 |
|
28 |
# Download entire data/ folder
|
29 |
+
repo_id = "NUS-UAL/global-streetscapes" # you can replace this for other huggingface repos
|
30 |
+
repo_type = "dataset" # required by the API when the repo is a dataset
|
31 |
+
folder_path = "data/" # replace the folder you want within the repo
|
32 |
+
local_dir = "global-streetscapes/" # the local folder in your computer where it will be downloaded
|
33 |
|
34 |
+
# By default, huggingface download them to the .cache/huggingface folder
|
35 |
download_folder(repo_id, repo_type, folder_path, local_dir)
|
36 |
|
37 |
# Download 2 additional files
|