Travor278 commited on
Commit
de7daed
·
verified ·
1 Parent(s): 72a1a87

docs: explain repaired dual-direction image closure

Browse files
Files changed (2) hide show
  1. README.md +128 -9
  2. SHA256SUMS +1 -1
README.md CHANGED
@@ -1,12 +1,131 @@
1
- # Ego-Exo4D Relation Train Mini — private repack
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- Private research artifact assembled from the two official FullTrain JSON
4
- reference closures. It contains only the 249,642 JPEG files referenced by
5
- Ego2Exo_FullTrain.json or Exo2Ego_FullTrain.json.
6
 
7
- Each file under `data/` is an independently readable standard tar archive.
8
- Extract all shards into the same destination directory.
 
9
 
10
- Provenance hashes and closure evidence are recorded in `MANIFEST.json` and
11
- `provenance/`. Do not change repository visibility without confirming the
12
- underlying dataset redistribution terms.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: V2-SAM EgoExo FullTrain image closure
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - image-segmentation
7
+ tags:
8
+ - ego-exo4d
9
+ - ego2exo
10
+ - exo2ego
11
+ - research-artifact
12
+ license: other
13
+ ---
14
 
15
+ # V2-SAM Ego2Exo/Exo2Ego FullTrain image closure
 
 
16
 
17
+ Research repack for the V2-SAM Ego2Exo and Exo2Ego training
18
+ pipelines. It contains the two FullTrain annotations and exactly the JPEG
19
+ union referenced by them.
20
 
21
+ This card documents packaging integrity; it does not grant additional rights
22
+ to the source data. Users remain responsible for complying with the
23
+ underlying Ego-Exo4D terms and any redistribution requirements.
24
+
25
+ ## Why this repack exists
26
+
27
+ The earlier local `Ego-Exo4D-Relation-Train-Mini` extraction was not a proven
28
+ closure of both training directions. Auditing the union of the two FullTrain
29
+ JSON files found 6,431 referenced paths missing before repair. Training with
30
+ that snapshot could fail late, silently omit samples in ad-hoc loaders, or
31
+ make Ego2Exo and Exo2Ego experiments use different image coverage.
32
+
33
+ This repack fixes the data artifact rather than changing annotations:
34
+
35
+ - both official FullTrain JSONs are included unchanged;
36
+ - referenced image paths are de-duplicated across both directions;
37
+ - every referenced JPEG is present in the final image root;
38
+ - every final JPEG passed the image-readability check;
39
+ - files are split into independent standard tar archives;
40
+ - file counts, byte sizes, SHA256 hashes, and repair provenance are retained.
41
+
42
+ ## Verified closure
43
+
44
+ | Item | Verified value |
45
+ | --- | ---: |
46
+ | Ego2Exo records | 110,118 |
47
+ | Ego2Exo unique referenced images | 220,236 |
48
+ | Exo2Ego records | 123,381 |
49
+ | Exo2Ego unique referenced images | 246,762 |
50
+ | Union referenced JPEGs | 249,642 |
51
+ | Missing before repair | 6,431 |
52
+ | Missing after repair | 0 |
53
+ | Unreadable JPEGs after repair | 0 |
54
+ | Episode groups | 754 |
55
+ | Tar shards | 4 |
56
+
57
+ The two annotation files retain these identities:
58
+
59
+ | File | SHA256 |
60
+ | --- | --- |
61
+ | `Ego2Exo_FullTrain.json` | `bb83cac92179b21833d2465ce29d5b0cf81668d8443d569279313c891472175a` |
62
+ | `Exo2Ego_FullTrain.json` | `212e7291990453b087f91dd848dd8a8a8f11a7a0a110fb257be760ca9c8c3058` |
63
+
64
+ `provenance/final_closure.json` is the authoritative closure report.
65
+ `provenance/repair_receipt.json` records the repair audit. Its
66
+ `already_present_count=6431` means the final repair rerun found all previously
67
+ missing paths already restored; it is not a claim that no repair had been
68
+ needed.
69
+
70
+ ## Repository layout
71
+
72
+ ```text
73
+ .
74
+ ├── MANIFEST.json
75
+ ├── SHA256SUMS
76
+ ├── README.md
77
+ ├── data/
78
+ │ ├── data_segswap-00000.tar
79
+ │ ├── data_segswap-00001.tar
80
+ │ ├── data_segswap-00002.tar
81
+ │ └── data_segswap-00003.tar
82
+ ├── json/Ego-Exo4D-Seg/frame-level/
83
+ │ ├── Ego2Exo_FullTrain.json
84
+ │ └── Exo2Ego_FullTrain.json
85
+ └── provenance/
86
+ ├── final_closure.json
87
+ └── repair_receipt.json
88
+ ```
89
+
90
+ Each `data/*.tar` is independently readable. Extract all four into the same
91
+ destination so their path trees merge.
92
+
93
+ ## Download, verify, and extract
94
+
95
+ Authenticate with an account that can read this private dataset:
96
+
97
+ ```bash
98
+ hf download Travor278/V2SAM-EgoExo-Train-Mini-Complete \
99
+ --repo-type dataset \
100
+ --local-dir V2SAM-EgoExo-Train-Mini-Complete
101
+
102
+ cd V2SAM-EgoExo-Train-Mini-Complete
103
+ sha256sum -c SHA256SUMS
104
+
105
+ mkdir -p extracted
106
+ for shard in data/data_segswap-*.tar; do
107
+ tar -xf "$shard" -C extracted
108
+ done
109
+ ```
110
+
111
+ Point the V2-SAM dataset `sam2_folder` at the extracted image tree and select
112
+ the matching JSON for the desired direction:
113
+
114
+ - Ego2Exo: `json/Ego-Exo4D-Seg/frame-level/Ego2Exo_FullTrain.json`
115
+ - Exo2Ego: `json/Ego-Exo4D-Seg/frame-level/Exo2Ego_FullTrain.json`
116
+
117
+ Do not concatenate the JSONs unless the training code explicitly implements a
118
+ mixed-direction dataset contract.
119
+
120
+ ## Integrity files
121
+
122
+ - `MANIFEST.json`: shard counts, sizes, hashes, JSON identities, and closure
123
+ report identities.
124
+ - `SHA256SUMS`: command-line integrity verification for every payload and
125
+ metadata file in this repository.
126
+ - `provenance/final_closure.json`: before/after missing counts and JPEG audit.
127
+ - `provenance/repair_receipt.json`: source archive and repair-run evidence.
128
+
129
+ The repository is complete only when all SHA256 checks pass and the closure
130
+ report has `ready=true`, `post_repair_missing_count=0`, and
131
+ `post_repair_bad_jpeg_count=0`.
SHA256SUMS CHANGED
@@ -1,5 +1,5 @@
1
  a318fa58096de8b32d6ce09175e69603e028314ad14b3ec47ccb4a1d54ecdaf4 MANIFEST.json
2
- 5a5b8a40ec429908baca0222d9c82fa59b09962f25b6560570357bbd700a21cc README.md
3
  09500cdd38577bdc156e986bf479443829bf36342de6753fed1da5c400c5174d data/data_segswap-00000.tar
4
  22d65f3b3d65436c8a63c158061f173c2db5c742105ea67537345b43ad0edc01 data/data_segswap-00001.tar
5
  f5675ad477e197cd6bcfbc4c0abaccdd358ef32337bc6a1cf5489dcfa76b3196 data/data_segswap-00002.tar
 
1
  a318fa58096de8b32d6ce09175e69603e028314ad14b3ec47ccb4a1d54ecdaf4 MANIFEST.json
2
+ bad61ffb75a8ae5c71cdf40d68d0cec10117533c72be58650e4bcecbfb9024bf README.md
3
  09500cdd38577bdc156e986bf479443829bf36342de6753fed1da5c400c5174d data/data_segswap-00000.tar
4
  22d65f3b3d65436c8a63c158061f173c2db5c742105ea67537345b43ad0edc01 data/data_segswap-00001.tar
5
  f5675ad477e197cd6bcfbc4c0abaccdd358ef32337bc6a1cf5489dcfa76b3196 data/data_segswap-00002.tar