Use Hyperism tar shards instead of expanded unzip tree
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +32 -20
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0000.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0000.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0001.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0001.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0002.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0002.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0003.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0003.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0004.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0004.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0005.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0005.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0006.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0006.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0007.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0007.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0008.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0008.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0009.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0009.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0010.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0010.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0011.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0011.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0012.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0012.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0013.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0013.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0014.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0014.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0015.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0015.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0016.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0016.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0017.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0017.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0018.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0018.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0019.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0019.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0020.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0020.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0021.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0021.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0022.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0022.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0023.depth_z_mm.png +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0023.tonemap.jpg +0 -3
- hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0024.depth_z_mm.png +0 -3
README.md
CHANGED
|
@@ -58,7 +58,10 @@ Install the Hugging Face CLI if needed:
|
|
| 58 |
pip install -U "huggingface_hub[cli]"
|
| 59 |
```
|
| 60 |
|
| 61 |
-
Download the dataset while preserving repository paths. The expanded ADT frame
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
```bash
|
| 64 |
DATA_ROOT=/mnt/nvme6/jieneng/data/spatialencoder_full
|
|
@@ -67,10 +70,11 @@ mkdir -p "$DATA_ROOT"
|
|
| 67 |
hf download qicq1c/spatialencoder_full \
|
| 68 |
--type dataset \
|
| 69 |
--local-dir "$DATA_ROOT" \
|
| 70 |
-
--exclude "aria_digital_twin/ADT/**"
|
|
|
|
| 71 |
```
|
| 72 |
|
| 73 |
-
The ADT tar archives are about 405 GiB. After extraction, `aria_digital_twin/ADT/` is about 406 GiB.
|
| 74 |
|
| 75 |
## 2. Restore ADT From Tar Archives
|
| 76 |
|
|
@@ -92,35 +96,43 @@ aria_digital_twin/ADT/Apartment_release_clean_seq131_M1292/depth_frames/...
|
|
| 92 |
aria_digital_twin/ADT/Apartment_release_clean_seq131_M1292/rgb_frames/...
|
| 93 |
```
|
| 94 |
|
| 95 |
-
## 3.
|
| 96 |
|
| 97 |
-
|
| 98 |
|
| 99 |
```bash
|
| 100 |
cd "$DATA_ROOT"
|
|
|
|
| 101 |
|
| 102 |
-
for
|
| 103 |
-
|
| 104 |
-
unzip -o "$z" -d "$DATA_ROOT"
|
| 105 |
-
fi
|
| 106 |
done
|
| 107 |
```
|
| 108 |
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
```bash
|
| 112 |
-
|
| 113 |
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
```
|
| 120 |
|
| 121 |
Skip this step for files that are already expanded in the final tree.
|
| 122 |
|
| 123 |
-
##
|
| 124 |
|
| 125 |
Run these checks before training:
|
| 126 |
|
|
@@ -149,7 +161,7 @@ Expected minimum result:
|
|
| 149 |
- `BoxFromMotion/dataset/{CA-1M,hyperism,ADT}.json` exist.
|
| 150 |
- Hyperism and ADT frame paths referenced by the json files exist under `BOX_DATA_PATH`.
|
| 151 |
|
| 152 |
-
##
|
| 153 |
|
| 154 |
From the SpatialEncoder code checkout:
|
| 155 |
|
|
@@ -179,7 +191,7 @@ wget -P "$BOX_WEIGHTS_PATH" \
|
|
| 179 |
https://huggingface.co/facebook/sam3.1/resolve/main/sam3.1_multiplex.pt
|
| 180 |
```
|
| 181 |
|
| 182 |
-
##
|
| 183 |
|
| 184 |
The merged training config samples datasets according to:
|
| 185 |
|
|
@@ -225,7 +237,7 @@ Train Epoch: [0][ 0/...] ... Losses/train_all_loss: ...
|
|
| 225 |
|
| 226 |
The first batch can be slow because workers are filling caches. Later steps should have near-zero `Data Time`.
|
| 227 |
|
| 228 |
-
##
|
| 229 |
|
| 230 |
Once all three single-dataset smoke tests print loss, launch the mixed run:
|
| 231 |
|
|
|
|
| 58 |
pip install -U "huggingface_hub[cli]"
|
| 59 |
```
|
| 60 |
|
| 61 |
+
Download the dataset while preserving repository paths. The expanded ADT and Hyperism frame trees are not stored directly in the repository; download the archive shards and restore them locally.
|
| 62 |
+
|
| 63 |
+
- ADT archives: `aria_digital_twin/ADT_tars/*.tar`
|
| 64 |
+
- Hyperism archives: `hyperism_required_shards/*.tar`
|
| 65 |
|
| 66 |
```bash
|
| 67 |
DATA_ROOT=/mnt/nvme6/jieneng/data/spatialencoder_full
|
|
|
|
| 70 |
hf download qicq1c/spatialencoder_full \
|
| 71 |
--type dataset \
|
| 72 |
--local-dir "$DATA_ROOT" \
|
| 73 |
+
--exclude "aria_digital_twin/ADT/**" \
|
| 74 |
+
--exclude "hyperism/hyperism/unzip/**"
|
| 75 |
```
|
| 76 |
|
| 77 |
+
The ADT tar archives are about 405 GiB. After extraction, `aria_digital_twin/ADT/` is about 406 GiB. The Hyperism tar shards are about 35.6 GiB. Keep the archives and expanded trees if you want the download to be resumable and reproducible.
|
| 78 |
|
| 79 |
## 2. Restore ADT From Tar Archives
|
| 80 |
|
|
|
|
| 96 |
aria_digital_twin/ADT/Apartment_release_clean_seq131_M1292/rgb_frames/...
|
| 97 |
```
|
| 98 |
|
| 99 |
+
## 3. Restore Hyperism From Tar Shards
|
| 100 |
|
| 101 |
+
Restore the Hyperism frame tree from the downloaded tar shards:
|
| 102 |
|
| 103 |
```bash
|
| 104 |
cd "$DATA_ROOT"
|
| 105 |
+
mkdir -p hyperism/hyperism/unzip
|
| 106 |
|
| 107 |
+
for shard in hyperism_required_shards/*.tar; do
|
| 108 |
+
tar --skip-old-files -xf "$shard" -C hyperism/hyperism/unzip
|
|
|
|
|
|
|
| 109 |
done
|
| 110 |
```
|
| 111 |
|
| 112 |
+
This recreates paths such as:
|
| 113 |
+
|
| 114 |
+
```text
|
| 115 |
+
hyperism/hyperism/unzip/ai_001_001/...
|
| 116 |
+
hyperism/hyperism/unzip/ai_001_002/...
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
## 4. Expand Packed Add-Ons If Present
|
| 120 |
+
|
| 121 |
+
If the download contains archive files such as `pickle.zip`, `hyperism-train-json.zip`, or `hyperism-val-json.zip`, unzip them at the data root:
|
| 122 |
|
| 123 |
```bash
|
| 124 |
+
cd "$DATA_ROOT"
|
| 125 |
|
| 126 |
+
for z in pickle.zip hyperism-train-json.zip hyperism-val-json.zip; do
|
| 127 |
+
if [ -f "$z" ]; then
|
| 128 |
+
unzip -o "$z" -d "$DATA_ROOT"
|
| 129 |
+
fi
|
| 130 |
+
done
|
| 131 |
```
|
| 132 |
|
| 133 |
Skip this step for files that are already expanded in the final tree.
|
| 134 |
|
| 135 |
+
## 5. Check Required Files
|
| 136 |
|
| 137 |
Run these checks before training:
|
| 138 |
|
|
|
|
| 161 |
- `BoxFromMotion/dataset/{CA-1M,hyperism,ADT}.json` exist.
|
| 162 |
- Hyperism and ADT frame paths referenced by the json files exist under `BOX_DATA_PATH`.
|
| 163 |
|
| 164 |
+
## 6. Set Training Environment
|
| 165 |
|
| 166 |
From the SpatialEncoder code checkout:
|
| 167 |
|
|
|
|
| 191 |
https://huggingface.co/facebook/sam3.1/resolve/main/sam3.1_multiplex.pt
|
| 192 |
```
|
| 193 |
|
| 194 |
+
## 7. Dataset Smoke Tests
|
| 195 |
|
| 196 |
The merged training config samples datasets according to:
|
| 197 |
|
|
|
|
| 237 |
|
| 238 |
The first batch can be slow because workers are filling caches. Later steps should have near-zero `Data Time`.
|
| 239 |
|
| 240 |
+
## 8. Mixed Training
|
| 241 |
|
| 242 |
Once all three single-dataset smoke tests print loss, launch the mixed run:
|
| 243 |
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0000.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0000.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0001.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0001.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0002.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0002.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0003.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0003.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0004.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0004.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0005.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0005.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0006.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0006.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0007.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0007.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0008.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0008.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0009.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0009.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0010.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0010.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0011.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0011.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0012.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0012.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0013.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0013.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0014.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0014.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0015.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0015.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0016.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0016.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0017.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0017.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0018.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0018.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0019.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0019.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0020.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0020.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0021.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0021.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0022.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0022.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0023.depth_z_mm.png
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0023.tonemap.jpg
DELETED
Git LFS Details
|
hyperism/hyperism/unzip/ai_001_001/images/scene_cam_00_final_preview/frame.0024.depth_z_mm.png
DELETED
Git LFS Details
|