UzairK commited on
Commit
2de6b5f
·
verified ·
1 Parent(s): 9149733

Update dataset card: train/test now use matching clean modality names

Browse files
Files changed (1) hide show
  1. README.md +7 -24
README.md CHANGED
@@ -27,32 +27,15 @@ K600-MM is the multimodal video dataset used to pretrain and evaluate [A2A-Video
27
  ## Directory structure
28
 
29
  ```
30
- train/<modality_folder>/vol_00.tar ... vol_63.tar # 64 shards per modality
31
- test/<modality_folder>/vol_00.tar ... vol_63.tar # 64 shards per modality
32
  ```
33
 
34
- Each `vol_XX.tar` is a [WebDataset](https://github.com/webdataset/webdataset) shard: many individually-named files, one (or a few) per video clip, sharing a filename stem across modalities so samples can be aligned by name. `train` and `test` use the same layout, but **different modality folder names** -- see below.
35
 
36
- ### Modality folder names
37
 
38
- `train/` folder names carry legacy processing-pipeline naming and need to be mapped to A2A-Video's internal modality names via `modality_name_map` in the data config (see [an example config](https://github.com/EPFL-VILAB/A2A-Video/blob/main/cfgs/default/4m/data/cc12m/main/4m_b_video_all_modalities_final_config.yaml)):
39
-
40
- | `train/` folder | Internal modality name |
41
- |---|---|
42
- | `rgb_video_tokens_128_23rd_sept` | `tok_video_rgb@128` |
43
- | `normals_npz_pseudolabels_video_tokens_128_23rd_sept` | `tok_video_normal@128` |
44
- | `depth_npz_pseudolabels_video_tokens_128_23rd_sept` | `tok_video_depth@128` |
45
- | `opticalflow_video_tokens_128_23rd_sept` | `tok_video_opticalflow@128` |
46
- | `siglip2_video_tokens_128` | `tok_video_siglipv2@224` |
47
- | `DINOv2-B14_video_tokens_128` | `tok_video_dinov2@224` |
48
- | `rgb_video_tokens_256_vjepa_tar` | `tok_video_vjepa@224` |
49
- | `detection` | `det` |
50
- | `saved_human_poses_pseudolabeled_with_tokenized_poses` | `human_poses` |
51
- | `caption`, `class_condition`, `transcription`, `crop_settings` | same name, no mapping needed |
52
-
53
- `test/` folder names already match A2A-Video's internal modality names directly (`tok_video_rgb@128`, `tok_video_depth@128`, `tok_video_dinov2@224`, `tok_video_flextok@128`, `tok_video_normal@128`, `tok_video_opticalflow@128`, `tok_video_siglipv2@224`, `tok_video_vjepa@224`, `det`, `human_poses`, `caption`, `class_condition`, `transcription`, `qwenvl_caption`, `crop_settings`) -- no `modality_name_map` entry needed for these.
54
-
55
- Both splits also include a plain `rgb` folder (raw/untokenized video) not required for standard pretraining -- it's there for tokenizer training and visualization use cases.
56
 
57
  ## Downloading
58
 
@@ -67,7 +50,7 @@ from huggingface_hub import snapshot_download
67
 
68
  snapshot_download(
69
  repo_id="EPFL-VILAB/K600-MM", repo_type="dataset", local_dir="/path/to/k600-mm",
70
- allow_patterns=["train/caption/*", "train/rgb_video_tokens_128_23rd_sept/*"],
71
  )
72
  ```
73
 
@@ -76,7 +59,7 @@ snapshot_download(
76
  Point `data_path` in your data config at wherever this repo ended up on disk, following the bracket-notation shown in [the example data config](https://github.com/EPFL-VILAB/A2A-Video/blob/main/cfgs/default/4m/data/cc12m/main/4m_b_video_all_modalities_final_config.yaml):
77
 
78
  ```yaml
79
- data_path: '/path/to/k600-mm/train/[crop_settings,caption,rgb_video_tokens_128_23rd_sept,...]/vol_{00..63}.tar'
80
  ```
81
 
82
  ## License
 
27
  ## Directory structure
28
 
29
  ```
30
+ train/<modality>/vol_00.tar ... vol_63.tar # 64 shards per modality
31
+ test/<modality>/vol_00.tar ... vol_63.tar # 64 shards per modality
32
  ```
33
 
34
+ Each `vol_XX.tar` is a [WebDataset](https://github.com/webdataset/webdataset) shard: many individually-named files, one (or a few) per video clip, sharing a filename stem across modalities so samples can be aligned by name.
35
 
36
+ `train/` and `test/` use matching modality folder names -- both use A2A-Video's internal modality names directly, so no name-mapping config is needed to consume this dataset as downloaded:
37
 
38
+ `caption`, `class_condition`, `crop_settings`, `det`, `human_poses`, `rgb`, `tok_video_depth@128`, `tok_video_dinov2@224`, `tok_video_normal@128`, `tok_video_opticalflow@128`, `tok_video_rgb@128`, `tok_video_siglipv2@224`, `tok_video_vjepa@224`, `transcription` (14 folders -- the released model's 12 `in_domains`/`out_domains` modalities, plus `crop_settings` and raw, untokenized `rgb`).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
  ## Downloading
41
 
 
50
 
51
  snapshot_download(
52
  repo_id="EPFL-VILAB/K600-MM", repo_type="dataset", local_dir="/path/to/k600-mm",
53
+ allow_patterns=["train/caption/*", "train/tok_video_rgb@128/*"],
54
  )
55
  ```
56
 
 
59
  Point `data_path` in your data config at wherever this repo ended up on disk, following the bracket-notation shown in [the example data config](https://github.com/EPFL-VILAB/A2A-Video/blob/main/cfgs/default/4m/data/cc12m/main/4m_b_video_all_modalities_final_config.yaml):
60
 
61
  ```yaml
62
+ data_path: '/path/to/k600-mm/train/[crop_settings,caption,tok_video_rgb@128,...]/vol_{00..63}.tar'
63
  ```
64
 
65
  ## License