Datasets:
Document public dataset access
Browse files
README.md
CHANGED
|
@@ -51,7 +51,7 @@ Pose samples and semantic annotations can occur at different times. Join them by
|
|
| 51 |
|
| 52 |
## Load a scene
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
```python
|
| 57 |
import csv
|
|
@@ -63,7 +63,7 @@ REPO_ID = "MonsterDie/SpatialSemanticDataset"
|
|
| 63 |
|
| 64 |
|
| 65 |
def download(filename):
|
| 66 |
-
return Path(hf_hub_download(REPO_ID, filename, repo_type="dataset", token=
|
| 67 |
|
| 68 |
|
| 69 |
with download("metadata.csv").open(encoding="utf-8-sig", newline="") as file:
|
|
|
|
| 51 |
|
| 52 |
## Load a scene
|
| 53 |
|
| 54 |
+
Install `huggingface_hub` to download the public dataset. This example downloads the index and the two annotation files for its first scene.
|
| 55 |
|
| 56 |
```python
|
| 57 |
import csv
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
def download(filename):
|
| 66 |
+
return Path(hf_hub_download(REPO_ID, filename, repo_type="dataset", token=False))
|
| 67 |
|
| 68 |
|
| 69 |
with download("metadata.csv").open(encoding="utf-8-sig", newline="") as file:
|