sampadilla commited on
Commit
47c55cc
·
verified ·
1 Parent(s): 68e395c

Document that file_name is relative to recordings/

Browse files
Files changed (1) hide show
  1. README.md +12 -1
README.md CHANGED
@@ -95,7 +95,7 @@ imu = pd.read_parquet("hf://datasets/eidon-ai/tracker-pov-imu/imu-0000.parquet",
95
 
96
  | Column | Description |
97
  |---|---|
98
- | `file_name` | relative path to the MP4 |
99
  | `recording_id` | integer id; joins to the `imu` subset and matches the filename prefix |
100
  | `contributor_id` | joins to `users.parquet` |
101
  | `duration_seconds` | recording length |
@@ -113,6 +113,17 @@ imu = pd.read_parquet("hf://datasets/eidon-ai/tracker-pov-imu/imu-0000.parquet",
113
  | `reject_reasons`, `flag_reasons` | why a recording was marked invalid / flagged |
114
  | `objects_detected`, `valid_reasons` | VLM-derived tags, present on a subset |
115
 
 
 
 
 
 
 
 
 
 
 
 
116
  ## Sensor data
117
 
118
  The IMU streams live in [`eidon-ai/tracker-pov-imu`](https://huggingface.co/datasets/eidon-ai/tracker-pov-imu)
 
95
 
96
  | Column | Description |
97
  |---|---|
98
+ | `file_name` | path to the MP4, **relative to `recordings/`** (see note below) |
99
  | `recording_id` | integer id; joins to the `imu` subset and matches the filename prefix |
100
  | `contributor_id` | joins to `users.parquet` |
101
  | `duration_seconds` | recording length |
 
113
  | `reject_reasons`, `flag_reasons` | why a recording was marked invalid / flagged |
114
  | `objects_detected`, `valid_reasons` | VLM-derived tags, present on a subset |
115
 
116
+ `file_name` is relative to the directory holding `metadata.parquet`, which is the convention the
117
+ `datasets` library expects. `load_dataset` resolves it for you. If you are fetching files
118
+ directly instead, prepend `recordings/`:
119
+
120
+ ```python
121
+ from huggingface_hub import hf_hub_download
122
+ path = hf_hub_download("eidon-ai/tracker-pov",
123
+ "recordings/" + row.file_name, # note the prefix
124
+ repo_type="dataset")
125
+ ```
126
+
127
  ## Sensor data
128
 
129
  The IMU streams live in [`eidon-ai/tracker-pov-imu`](https://huggingface.co/datasets/eidon-ai/tracker-pov-imu)