thompsonmj commited on
Commit
ef2fb67
1 Parent(s): 547112a

Use curl instead of wget for better platform compatibility

Browse files
Files changed (1) hide show
  1. download.sh +3 -1
download.sh CHANGED
@@ -14,6 +14,7 @@ FILES=(
14
  "configs/SLOWFAST.yaml"
15
  "configs/X3D.yaml"
16
  "dataset/image2video.py"
 
17
  "dataset/image/giraffes_md5.txt"
18
  "dataset/image/giraffes_part_aa"
19
  "dataset/image/giraffes_part_ab"
@@ -58,7 +59,8 @@ for FILE_PATH in "${FILES[@]}"; do
58
  mkdir -p "$(dirname "KABR_files/$FILE_PATH")"
59
 
60
  # Download the file and save it with the preserved file path
61
- wget -P "KABR_files/$(dirname "$FILE_PATH")" "$FULL_URL"
 
62
  done
63
 
64
  ANIMALS=("giraffes" "zebras_grevys" "zebras_plains")
 
14
  "configs/SLOWFAST.yaml"
15
  "configs/X3D.yaml"
16
  "dataset/image2video.py"
17
+ "dataset/image2visual.py"
18
  "dataset/image/giraffes_md5.txt"
19
  "dataset/image/giraffes_part_aa"
20
  "dataset/image/giraffes_part_ab"
 
59
  mkdir -p "$(dirname "KABR_files/$FILE_PATH")"
60
 
61
  # Download the file and save it with the preserved file path
62
+ curl -L -o "KABR_files/$FILE_PATH" "$FULL_URL"
63
+
64
  done
65
 
66
  ANIMALS=("giraffes" "zebras_grevys" "zebras_plains")