Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -164,39 +164,6 @@ print(f"Executor: {task['executor']}") # Only for carla/virtualhome
|
|
| 164 |
| `scene_index` | int | Scene number | procthor |
|
| 165 |
| `weather` | string | Weather condition | carla, virtualhome |
|
| 166 |
|
| 167 |
-
### Downloading Full Original Dataset
|
| 168 |
-
|
| 169 |
-
The complete original benchmark data (~1GB, 8695 files) is available in `benchmark.zip`:
|
| 170 |
-
|
| 171 |
-
**Option 1: Using Hugging Face Hub**
|
| 172 |
-
```python
|
| 173 |
-
from huggingface_hub import hf_hub_download
|
| 174 |
-
import zipfile
|
| 175 |
-
|
| 176 |
-
# Download benchmark.zip
|
| 177 |
-
zip_path = hf_hub_download(
|
| 178 |
-
repo_id="Spatialworld/Spatialworld-bench",
|
| 179 |
-
filename="benchmark.zip",
|
| 180 |
-
repo_type="dataset",
|
| 181 |
-
local_dir="./"
|
| 182 |
-
)
|
| 183 |
-
|
| 184 |
-
# Extract
|
| 185 |
-
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|
| 186 |
-
zip_ref.extractall("./benchmark")
|
| 187 |
-
|
| 188 |
-
print("Full benchmark extracted to ./benchmark/")
|
| 189 |
-
```
|
| 190 |
-
|
| 191 |
-
**Option 2: Direct Download**
|
| 192 |
-
```bash
|
| 193 |
-
wget https://huggingface.co/datasets/Spatialworld/Spatialworld-bench/resolve/main/benchmark.zip
|
| 194 |
-
unzip benchmark.zip -d benchmark/
|
| 195 |
-
```
|
| 196 |
-
|
| 197 |
-
**Option 3: Web Interface**
|
| 198 |
-
Visit https://huggingface.co/datasets/Spatialworld/Spatialworld-bench → Files and versions → download `benchmark.zip`
|
| 199 |
-
|
| 200 |
### Loading Original Tasks (Local)
|
| 201 |
|
| 202 |
For full benchmark with original JSON structures:
|
|
|
|
| 164 |
| `scene_index` | int | Scene number | procthor |
|
| 165 |
| `weather` | string | Weather condition | carla, virtualhome |
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
### Loading Original Tasks (Local)
|
| 168 |
|
| 169 |
For full benchmark with original JSON structures:
|