ln2697 commited on
Commit
59bc88e
·
verified ·
1 Parent(s): faf1c11

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -31
README.md CHANGED
@@ -51,22 +51,12 @@ In addition to the nominal sensor suite, we provide a second, perturbated sensor
51
 
52
  You can either download a **single route** (useful for quick inspection / debugging) or **clone the full dataset** via Git LFS and unzip all routes.
53
 
54
- ### Option 1: Download a single route
55
-
56
- ```bash
57
- #!/bin/bash
58
-
59
- mkdir -p data/carla_leaderboard2/zip/VehicleOpensDoorTwoWays
60
 
61
- wget \
62
- https://huggingface.co/datasets/ln2697/lead_carla/resolve/main/VehicleOpensDoorTwoWays/Town12_Rep0_3790_0_route0_01_10_05_46_05.zip \
63
- -O data/carla_leaderboard2/zip/VehicleOpensDoorTwoWays/Town12_Rep0_3790_0_route0_01_10_05_46_05.zip
64
- ````
65
-
66
- Unzip it:
67
 
68
  ```bash
69
- unzip data/carla_leaderboard2/zip/VehicleOpensDoorTwoWays/Town12_Rep0_3790_0_route0_01_10_05_46_05.zip -d .
70
  ```
71
 
72
  ---
@@ -80,26 +70,12 @@ git lfs install
80
  git clone https://huggingface.co/datasets/ln2697/lead_carla data/carla_leaderboard2/zip
81
  ```
82
 
83
- Unzip all routes in parallel:
84
-
85
- ```bash
86
- #!/bin/bash
87
-
88
- zip_dir="data/carla_leaderboard2/zip"
89
 
90
- mapfile -d '' -t zips < <(find "$zip_dir" -type f -name "*.zip" -print0)
91
 
92
- echo "Found ${#zips[@]} zip files to unzip."
93
- echo "First 10 zips:"
94
- printf '%s\n' "${zips[@]:0:10}"
95
-
96
- unzip_route() {
97
- unzip -o "$1" -d . >/dev/null
98
- }
99
-
100
- export -f unzip_route
101
-
102
- printf '%s\0' "${zips[@]}" | parallel --will-cite -0 -P 64 unzip_route {}
103
  ```
104
 
105
  ## Citation
 
51
 
52
  You can either download a **single route** (useful for quick inspection / debugging) or **clone the full dataset** via Git LFS and unzip all routes.
53
 
54
+ **Note:** Download the dataset after setting up the [lead repository](https://github.com/autonomousvision/lead).
 
 
 
 
 
55
 
56
+ ### Option 1: Download a single route
 
 
 
 
 
57
 
58
  ```bash
59
+ bash scripts/download_one_route.sh
60
  ```
61
 
62
  ---
 
70
  git clone https://huggingface.co/datasets/ln2697/lead_carla data/carla_leaderboard2/zip
71
  ```
72
 
73
+ ### Unzip routes
 
 
 
 
 
74
 
75
+ Run
76
 
77
+ ```bash
78
+ bash scripts/unzip_routes.sh
 
 
 
 
 
 
 
 
 
79
  ```
80
 
81
  ## Citation