apal commited on
Commit
cf463ce
1 Parent(s): 14675c8
Files changed (1) hide show
  1. README.md +39 -0
README.md CHANGED
@@ -269,4 +269,43 @@ The dataset is organized in the following structure:
269
 
270
  **Note**: Since the same viewpoint is reproduced across each weather variation, hence ClearNoon annotations can be used for all images pertaining to the different weather variations.
271
 
 
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
 
270
  **Note**: Since the same viewpoint is reproduced across each weather variation, hence ClearNoon annotations can be used for all images pertaining to the different weather variations.
271
 
272
+ ## Dataset Download
273
 
274
+ The dataset can be downloaded using both datasets library by Hugging Face and wget. Since SkyScenes offers variations across different axes
275
+ hence we enable different subsets for download that can aid in model sensitivity analysis across these axes.
276
+
277
+ **Example script for downloading different subsets of data using wget**
278
+ ```
279
+ #!/bin/bash
280
+ #Change here to download a specific Height and Pitch Variation, for example - H_15_P_0
281
+ HP=('H_15_P_0' 'H_15_P_45' 'H_15_P_60' 'H_15_P_90' 'H_35_P_0' 'H_35_P_45' 'H_35_P_60' 'H_35_P_90' 'H_60_P_0' 'H_60_P_45' 'H_60_P_60' 'H_60_P_90')
282
+
283
+ #Change here to download a specific weather subset, for example - ClearNoon
284
+ weather=('ClearNoon' 'ClearNight' 'ClearSunset' 'CloudyNoon' 'MidRainyNoon')
285
+
286
+ #Change here to download a specific Town subset, for example - Town07
287
+ layout=('Town01' 'Town02' 'Town03' 'Town04' 'Town05' 'Town06' 'Town07' 'Town10HD')
288
+
289
+ #Change here for any specific annotation, for example - https://huggingface.co/datasets/hoffman-lab/SkyScenes/tree/main/Segment
290
+ base_url=('https://huggingface.co/datasets/hoffman-lab/SkyScenes/tree/main/Images' 'https://huggingface.co/datasets/hoffman-lab/SkyScenes/tree/main/Segment' 'https://huggingface.co/datasets/hoffman-lab/SkyScenes/tree/main/Instance''https://huggingface.co/datasets/hoffman-lab/SkyScenes/tree/main/Depth')
291
+
292
+ #Change here for base download folder
293
+ base_download_folder='SkyScenes'
294
+
295
+
296
+ for hp in "${HP[@]}"; do
297
+ for w in "${weather[@]}"; do
298
+ for t in "${layout[@]}"; do
299
+ for url in "${base_url[@]}"; do
300
+ folder=$(echo "$url" | awk -F '/' '{print $(NF)}')
301
+ download_url="${url}/${hp}/${w}/${t}/${t}.tar.gz"
302
+ download_folder="${base_download_folder}/${folder}/${HP}/${w}/${t}"
303
+ mkdir -p "$download_folder"
304
+ echo "Downloading: $download_url"
305
+ echo "SAving: $download_folder"
306
+ # wget -P "$download_folder" "$download_url"
307
+ done
308
+ done
309
+ done
310
+ done
311
+ ```