Datasets:
Fix --include syntax in partial download example
Browse files
README.md
CHANGED
|
@@ -45,13 +45,17 @@ runs the drop/hang generator end to end, restrict the download:
|
|
| 45 |
|
| 46 |
```bash
|
| 47 |
hf download DeformX/DeformX-Assets --repo-type dataset --local-dir ./asset_wireseg36k \
|
| 48 |
-
--include "usd/*" "wires_traj_data/*" "ground/*"
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
| 53 |
```
|
| 54 |
|
|
|
|
|
|
|
|
|
|
| 55 |
Both the HDRI and ground-texture samplers randomize over whatever files are present, so a
|
| 56 |
partial download still renders — you just get less appearance diversity.
|
| 57 |
|
|
|
|
| 45 |
|
| 46 |
```bash
|
| 47 |
hf download DeformX/DeformX-Assets --repo-type dataset --local-dir ./asset_wireseg36k \
|
| 48 |
+
--include "usd/*" --include "wires_traj_data/*" --include "ground/*" \
|
| 49 |
+
--include "scripts/*" --include "*.md" --include "*.json" \
|
| 50 |
+
--include "background/boiler_room_4k.hdr" \
|
| 51 |
+
--include "background/machine_shop_01_4k.hdr" \
|
| 52 |
+
--include "background/empty_workshop_4k.hdr" \
|
| 53 |
+
--include "background/small_workshop_4k.hdr"
|
| 54 |
```
|
| 55 |
|
| 56 |
+
`--include` takes one pattern per flag. Passing several patterns to a single `--include`
|
| 57 |
+
makes the CLI treat all but the first as positional filenames and silently skip them.
|
| 58 |
+
|
| 59 |
Both the HDRI and ground-texture samplers randomize over whatever files are present, so a
|
| 60 |
partial download still renders — you just get less appearance diversity.
|
| 61 |
|