Document SLAT training downloads, dataset paths, and upload requirements
Browse files- README.md +147 -18
- precomputed_slat/README.md +140 -14
README.md
CHANGED
|
@@ -63,6 +63,153 @@ Archive inventories and SHA-256 checksums are in `bundles/<dataset>/index.json`.
|
|
| 63 |
The extent archives exclude diagnostic subsets, raw downloads, model weights, and model-specific feature caches.
|
| 64 |
FoundationPose currently has raw archives only.
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Restore on another server
|
| 67 |
|
| 68 |
Use the PartProbe3D checkout containing `preprocess/huggingface.py` and install its
|
|
@@ -158,21 +305,3 @@ View: `003c09039641a2b2efa1`.
|
|
| 158 |

|
| 159 |
|
| 160 |
[Posed prompted GT geometry (GLB)](previews/ycbv/test-geometry.glb)
|
| 161 |
-
|
| 162 |
-
## Precomputed SLAT-shape targets
|
| 163 |
-
|
| 164 |
-
The [SLAT target snapshots](precomputed_slat/README.md) contain available 32³ shape latents for both training datasets.
|
| 165 |
-
The frozen TRELLIS.2 shape encoder produced these latents.
|
| 166 |
-
|
| 167 |
-
| Dataset | Training views | Encoded objects | Archive GiB |
|
| 168 |
-
| --- | ---: | ---: | ---: |
|
| 169 |
-
| 3D-FRONT | 39,930 | 240,952 | 5.19 |
|
| 170 |
-
| SAGE-10k | 17,456 | 397,203 | 1.18 |
|
| 171 |
-
|
| 172 |
-
Three SAGE-10k objects retain encoding failures.
|
| 173 |
-
Scene encoding remains partial.
|
| 174 |
-
Frozen DINOv3 and NAF feature caches still require preparation.
|
| 175 |
-
The snapshots preserve the recorded completion states.
|
| 176 |
-
|
| 177 |
-
The [SLAT instructions](precomputed_slat/README.md#restore-the-caches) describe restoration with `--bundle-root precomputed_slat`.
|
| 178 |
-
The extent archives remain under `bundles/`.
|
|
|
|
| 63 |
The extent archives exclude diagnostic subsets, raw downloads, model weights, and model-specific feature caches.
|
| 64 |
FoundationPose currently has raw archives only.
|
| 65 |
|
| 66 |
+
|
| 67 |
+
## SLAT shape: upload and download specification
|
| 68 |
+
|
| 69 |
+
The repository contains prepared extent datasets and separate SLAT-shape targets.
|
| 70 |
+
Combined 32³ SLAT finetuning requires both artifact types for both training datasets.
|
| 71 |
+
The 6.84 GB SLAT upload contains latent targets and metadata.
|
| 72 |
+
It excludes RGB observations, depth maps, masks, and frozen image features.
|
| 73 |
+
|
| 74 |
+
The sizes and coverage below describe data snapshot `0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa`.
|
| 75 |
+
GB means decimal gigabytes.
|
| 76 |
+
|
| 77 |
+
| Bundle | Contents | Training archives and metadata, GB | All archives, GB |
|
| 78 |
+
| --- | --- | ---: | ---: |
|
| 79 |
+
| `bundles/3dfront` | Calibrated observations, extent geometry, and occupancy targets | 234.67 | 293.70 |
|
| 80 |
+
| `bundles/sage` | Calibrated observations, extent geometry, and occupancy targets | 460.59 | 510.88 |
|
| 81 |
+
| `precomputed_slat/3dfront` | 32³ object latents and available scene latents | 5.57 | 5.57 |
|
| 82 |
+
| `precomputed_slat/sage` | 32³ object latents and recorded failures | 1.27 | 1.27 |
|
| 83 |
+
| Total | Both datasets and both artifact types | 702.10 | 811.42 |
|
| 84 |
+
|
| 85 |
+
Training requires each extent bundle's `metadata.tar` and `train-*.tar` archives.
|
| 86 |
+
Evaluation also requires its `test-*.tar` archives.
|
| 87 |
+
The current download command restores every archive in a bundle, including available test archives.
|
| 88 |
+
It has no split filter.
|
| 89 |
+
The four commands below therefore download about 811.42 GB.
|
| 90 |
+
|
| 91 |
+
### Download and restore
|
| 92 |
+
|
| 93 |
+
Use the updated PartProbe3D checkout with latent generation in `preprocess/slat/`.
|
| 94 |
+
Install its preprocessing dependencies and `huggingface-hub`.
|
| 95 |
+
Authenticate with a Hugging Face account that can access this dataset repository.
|
| 96 |
+
Run these commands from the repository root.
|
| 97 |
+
|
| 98 |
+
1. Restore the prepared 3D-FRONT extent dataset.
|
| 99 |
+
|
| 100 |
+
```bash
|
| 101 |
+
python -m preprocess.huggingface download \
|
| 102 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root bundles \
|
| 103 |
+
--dataset 3dfront --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
2. Restore the prepared SAGE-10k extent dataset.
|
| 107 |
+
|
| 108 |
+
```bash
|
| 109 |
+
python -m preprocess.huggingface download \
|
| 110 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root bundles \
|
| 111 |
+
--dataset sage --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
3. Restore the 3D-FRONT shape targets.
|
| 115 |
+
|
| 116 |
+
```bash
|
| 117 |
+
python -m preprocess.huggingface download \
|
| 118 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_slat \
|
| 119 |
+
--dataset 3dfront --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
4. Restore the SAGE-10k shape targets.
|
| 123 |
+
|
| 124 |
+
```bash
|
| 125 |
+
python -m preprocess.huggingface download \
|
| 126 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_slat \
|
| 127 |
+
--dataset sage --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
| Dataset | Prepared observations and extent targets | SLAT targets |
|
| 131 |
+
| --- | --- | --- |
|
| 132 |
+
| 3D-FRONT | `datasets/3dfront/extent/point_cloud/` | `datasets/3dfront/slat/32/targets/` |
|
| 133 |
+
| SAGE-10k | `datasets/sage/extent/point_cloud/` | `datasets/sage/slat/32/targets/` |
|
| 134 |
+
|
| 135 |
+
The updated downloader maps historical SLAT archive paths under `outputs/` to these dataset locations.
|
| 136 |
+
It preserves target bytes and verifies every archive's size and SHA-256 checksum.
|
| 137 |
+
It refuses to replace different existing files.
|
| 138 |
+
`--cleanup` retains one temporary archive at a time and removes it after successful restoration.
|
| 139 |
+
Temporary archives reside under `datasets/<dataset>/archives/huggingface/`.
|
| 140 |
+
Extracted files and future feature caches need additional disk space.
|
| 141 |
+
|
| 142 |
+
Preserve the original extent manifests without edits.
|
| 143 |
+
The SLAT manifests bind their source datasets through manifest checksums.
|
| 144 |
+
Raw dataset archives, rendering again, and SS feature caches are unnecessary for this workflow.
|
| 145 |
+
|
| 146 |
+
### Complete preparation before training
|
| 147 |
+
|
| 148 |
+
The published targets cover 39,930 3D-FRONT training views and 17,456 SAGE-10k training views.
|
| 149 |
+
Three SAGE-10k views retain one failed object target each.
|
| 150 |
+
These failures block strict combined training until object encoding succeeds.
|
| 151 |
+
The snapshot contains scene latents for 6,720 3D-FRONT views and no SAGE-10k scenes.
|
| 152 |
+
The current object loss does not require completed scene encoding.
|
| 153 |
+
|
| 154 |
+
1. Obtain the configured Pixal3D, DINOv3, and NAF weights separately.
|
| 155 |
+
2. Resolve the three failed SAGE-10k object targets.
|
| 156 |
+
3. Prepare frozen conditioning features and immutable object targets.
|
| 157 |
+
4. Start finetuning after feature preparation succeeds.
|
| 158 |
+
|
| 159 |
+
The TRELLIS.2 shape encoder and paired decoder are also required when regenerating shape targets.
|
| 160 |
+
Image features and immutable training snapshots are not included in the uploaded target bundles.
|
| 161 |
+
The commands below do not automatically schedule scene encoding or training during feature preparation.
|
| 162 |
+
|
| 163 |
+
```bash
|
| 164 |
+
python -m preprocess.slat.prepare \
|
| 165 |
+
--config preprocess/slat/configs/front3d_sage_32.json \
|
| 166 |
+
--stage features --devices cuda:1 cuda:2
|
| 167 |
+
python -m slat_multiobj_shape.train \
|
| 168 |
+
--config slat_multiobj_shape/configs/front3d_sage_32.json
|
| 169 |
+
```
|
| 170 |
+
|
| 171 |
+
Feature preparation writes `object_targets/` and `object_features/` under each dataset's `slat/32/` directory.
|
| 172 |
+
It retains clean GT depth for fresh augmentation during training.
|
| 173 |
+
Testing uses MoGe-3 depth and calibration.
|
| 174 |
+
Training results reside under `outputs/`, and model checkpoints reside under `checkpoints/`.
|
| 175 |
+
|
| 176 |
+
### Upload contract
|
| 177 |
+
|
| 178 |
+
`bundles/<dataset>/index.json` describes prepared extent archives.
|
| 179 |
+
`precomputed_slat/<dataset>/index.json` describes SLAT target archives.
|
| 180 |
+
Each inventory records archive sizes, SHA-256 checksums, and the restore destination.
|
| 181 |
+
SLAT inventories also record source manifests, codec provenance, coverage, and encoding failures.
|
| 182 |
+
|
| 183 |
+
An inventory's `complete=true` means packaging covers the snapshot files.
|
| 184 |
+
The uploader publishes a complete inventory after every archive is present with matching size.
|
| 185 |
+
It also compares remote SHA-256 checksums when Hub file metadata provides them.
|
| 186 |
+
`source_complete` separately records whether source preprocessing finished.
|
| 187 |
+
An upload can therefore finish while source object or scene encoding remains incomplete.
|
| 188 |
+
The upload preserves failure records and pending scene statuses.
|
| 189 |
+
|
| 190 |
+
Package shape targets with this command:
|
| 191 |
+
|
| 192 |
+
```bash
|
| 193 |
+
python -m preprocess.huggingface pack \
|
| 194 |
+
--artifact-kind slat-shape-targets \
|
| 195 |
+
--dataset 3dfront=datasets/3dfront/slat/32/targets \
|
| 196 |
+
--dataset sage=datasets/sage/slat/32/targets \
|
| 197 |
+
--output outputs/huggingface/slat_targets_publish
|
| 198 |
+
```
|
| 199 |
+
|
| 200 |
+
Publish those archives to an existing dataset repository with this command:
|
| 201 |
+
|
| 202 |
+
```bash
|
| 203 |
+
python -m preprocess.huggingface upload \
|
| 204 |
+
--repo cubec/PartProbe3D-preprocessed \
|
| 205 |
+
--bundle-root precomputed_slat --dataset 3dfront --dataset sage \
|
| 206 |
+
--output outputs/huggingface/slat_targets_publish
|
| 207 |
+
```
|
| 208 |
+
|
| 209 |
+
The target upload excludes worker jobs, raw assets, model weights, and frozen image feature caches.
|
| 210 |
+
Use a fresh packaging directory when source manifests change.
|
| 211 |
+
Publish matching extent and target snapshots before documenting a new reproducible data revision.
|
| 212 |
+
|
| 213 |
## Restore on another server
|
| 214 |
|
| 215 |
Use the PartProbe3D checkout containing `preprocess/huggingface.py` and install its
|
|
|
|
| 305 |

|
| 306 |
|
| 307 |
[Posed prompted GT geometry (GLB)](previews/ycbv/test-geometry.glb)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
precomputed_slat/README.md
CHANGED
|
@@ -22,26 +22,152 @@ The inventories include archive SHA-256 checksums and encoder checkpoint provena
|
|
| 22 |
|
| 23 |
[3D-FRONT inventory](3dfront/index.json) · [SAGE-10k inventory](sage/index.json)
|
| 24 |
|
| 25 |
-
## Restore the caches
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
```bash
|
| 31 |
-
python -m preprocess.
|
| 32 |
-
--
|
| 33 |
-
--
|
| 34 |
-
python -m
|
| 35 |
-
--
|
| 36 |
-
--dataset sage --cleanup
|
| 37 |
```
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
| 42 |
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Format and provenance
|
| 47 |
|
|
|
|
| 22 |
|
| 23 |
[3D-FRONT inventory](3dfront/index.json) · [SAGE-10k inventory](sage/index.json)
|
| 24 |
|
|
|
|
| 25 |
|
| 26 |
+
## SLAT shape: upload and download specification
|
| 27 |
+
|
| 28 |
+
The repository contains prepared extent datasets and separate SLAT-shape targets.
|
| 29 |
+
Combined 32³ SLAT finetuning requires both artifact types for both training datasets.
|
| 30 |
+
The 6.84 GB SLAT upload contains latent targets and metadata.
|
| 31 |
+
It excludes RGB observations, depth maps, masks, and frozen image features.
|
| 32 |
+
|
| 33 |
+
The sizes and coverage below describe data snapshot `0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa`.
|
| 34 |
+
GB means decimal gigabytes.
|
| 35 |
+
|
| 36 |
+
| Bundle | Contents | Training archives and metadata, GB | All archives, GB |
|
| 37 |
+
| --- | --- | ---: | ---: |
|
| 38 |
+
| `bundles/3dfront` | Calibrated observations, extent geometry, and occupancy targets | 234.67 | 293.70 |
|
| 39 |
+
| `bundles/sage` | Calibrated observations, extent geometry, and occupancy targets | 460.59 | 510.88 |
|
| 40 |
+
| `precomputed_slat/3dfront` | 32³ object latents and available scene latents | 5.57 | 5.57 |
|
| 41 |
+
| `precomputed_slat/sage` | 32³ object latents and recorded failures | 1.27 | 1.27 |
|
| 42 |
+
| Total | Both datasets and both artifact types | 702.10 | 811.42 |
|
| 43 |
+
|
| 44 |
+
Training requires each extent bundle's `metadata.tar` and `train-*.tar` archives.
|
| 45 |
+
Evaluation also requires its `test-*.tar` archives.
|
| 46 |
+
The current download command restores every archive in a bundle, including available test archives.
|
| 47 |
+
It has no split filter.
|
| 48 |
+
The four commands below therefore download about 811.42 GB.
|
| 49 |
+
|
| 50 |
+
### Download and restore
|
| 51 |
+
|
| 52 |
+
Use the updated PartProbe3D checkout with latent generation in `preprocess/slat/`.
|
| 53 |
+
Install its preprocessing dependencies and `huggingface-hub`.
|
| 54 |
+
Authenticate with a Hugging Face account that can access this dataset repository.
|
| 55 |
+
Run these commands from the repository root.
|
| 56 |
+
|
| 57 |
+
1. Restore the prepared 3D-FRONT extent dataset.
|
| 58 |
+
|
| 59 |
+
```bash
|
| 60 |
+
python -m preprocess.huggingface download \
|
| 61 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root bundles \
|
| 62 |
+
--dataset 3dfront --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
2. Restore the prepared SAGE-10k extent dataset.
|
| 66 |
+
|
| 67 |
+
```bash
|
| 68 |
+
python -m preprocess.huggingface download \
|
| 69 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root bundles \
|
| 70 |
+
--dataset sage --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
3. Restore the 3D-FRONT shape targets.
|
| 74 |
+
|
| 75 |
+
```bash
|
| 76 |
+
python -m preprocess.huggingface download \
|
| 77 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_slat \
|
| 78 |
+
--dataset 3dfront --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
4. Restore the SAGE-10k shape targets.
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
python -m preprocess.huggingface download \
|
| 85 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_slat \
|
| 86 |
+
--dataset sage --revision 0e4623fb0c8d9bad7cbe1dfb161a993ac165b6aa --cleanup
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
| Dataset | Prepared observations and extent targets | SLAT targets |
|
| 90 |
+
| --- | --- | --- |
|
| 91 |
+
| 3D-FRONT | `datasets/3dfront/extent/point_cloud/` | `datasets/3dfront/slat/32/targets/` |
|
| 92 |
+
| SAGE-10k | `datasets/sage/extent/point_cloud/` | `datasets/sage/slat/32/targets/` |
|
| 93 |
+
|
| 94 |
+
The updated downloader maps historical SLAT archive paths under `outputs/` to these dataset locations.
|
| 95 |
+
It preserves target bytes and verifies every archive's size and SHA-256 checksum.
|
| 96 |
+
It refuses to replace different existing files.
|
| 97 |
+
`--cleanup` retains one temporary archive at a time and removes it after successful restoration.
|
| 98 |
+
Temporary archives reside under `datasets/<dataset>/archives/huggingface/`.
|
| 99 |
+
Extracted files and future feature caches need additional disk space.
|
| 100 |
+
|
| 101 |
+
Preserve the original extent manifests without edits.
|
| 102 |
+
The SLAT manifests bind their source datasets through manifest checksums.
|
| 103 |
+
Raw dataset archives, rendering again, and SS feature caches are unnecessary for this workflow.
|
| 104 |
+
|
| 105 |
+
### Complete preparation before training
|
| 106 |
+
|
| 107 |
+
The published targets cover 39,930 3D-FRONT training views and 17,456 SAGE-10k training views.
|
| 108 |
+
Three SAGE-10k views retain one failed object target each.
|
| 109 |
+
These failures block strict combined training until object encoding succeeds.
|
| 110 |
+
The snapshot contains scene latents for 6,720 3D-FRONT views and no SAGE-10k scenes.
|
| 111 |
+
The current object loss does not require completed scene encoding.
|
| 112 |
+
|
| 113 |
+
1. Obtain the configured Pixal3D, DINOv3, and NAF weights separately.
|
| 114 |
+
2. Resolve the three failed SAGE-10k object targets.
|
| 115 |
+
3. Prepare frozen conditioning features and immutable object targets.
|
| 116 |
+
4. Start finetuning after feature preparation succeeds.
|
| 117 |
+
|
| 118 |
+
The TRELLIS.2 shape encoder and paired decoder are also required when regenerating shape targets.
|
| 119 |
+
Image features and immutable training snapshots are not included in the uploaded target bundles.
|
| 120 |
+
The commands below do not automatically schedule scene encoding or training during feature preparation.
|
| 121 |
|
| 122 |
```bash
|
| 123 |
+
python -m preprocess.slat.prepare \
|
| 124 |
+
--config preprocess/slat/configs/front3d_sage_32.json \
|
| 125 |
+
--stage features --devices cuda:1 cuda:2
|
| 126 |
+
python -m slat_multiobj_shape.train \
|
| 127 |
+
--config slat_multiobj_shape/configs/front3d_sage_32.json
|
|
|
|
| 128 |
```
|
| 129 |
|
| 130 |
+
Feature preparation writes `object_targets/` and `object_features/` under each dataset's `slat/32/` directory.
|
| 131 |
+
It retains clean GT depth for fresh augmentation during training.
|
| 132 |
+
Testing uses MoGe-3 depth and calibration.
|
| 133 |
+
Training results reside under `outputs/`, and model checkpoints reside under `checkpoints/`.
|
| 134 |
|
| 135 |
+
### Upload contract
|
| 136 |
+
|
| 137 |
+
`bundles/<dataset>/index.json` describes prepared extent archives.
|
| 138 |
+
`precomputed_slat/<dataset>/index.json` describes SLAT target archives.
|
| 139 |
+
Each inventory records archive sizes, SHA-256 checksums, and the restore destination.
|
| 140 |
+
SLAT inventories also record source manifests, codec provenance, coverage, and encoding failures.
|
| 141 |
+
|
| 142 |
+
An inventory's `complete=true` means packaging covers the snapshot files.
|
| 143 |
+
The uploader publishes a complete inventory after every archive is present with matching size.
|
| 144 |
+
It also compares remote SHA-256 checksums when Hub file metadata provides them.
|
| 145 |
+
`source_complete` separately records whether source preprocessing finished.
|
| 146 |
+
An upload can therefore finish while source object or scene encoding remains incomplete.
|
| 147 |
+
The upload preserves failure records and pending scene statuses.
|
| 148 |
+
|
| 149 |
+
Package shape targets with this command:
|
| 150 |
+
|
| 151 |
+
```bash
|
| 152 |
+
python -m preprocess.huggingface pack \
|
| 153 |
+
--artifact-kind slat-shape-targets \
|
| 154 |
+
--dataset 3dfront=datasets/3dfront/slat/32/targets \
|
| 155 |
+
--dataset sage=datasets/sage/slat/32/targets \
|
| 156 |
+
--output outputs/huggingface/slat_targets_publish
|
| 157 |
+
```
|
| 158 |
+
|
| 159 |
+
Publish those archives to an existing dataset repository with this command:
|
| 160 |
+
|
| 161 |
+
```bash
|
| 162 |
+
python -m preprocess.huggingface upload \
|
| 163 |
+
--repo cubec/PartProbe3D-preprocessed \
|
| 164 |
+
--bundle-root precomputed_slat --dataset 3dfront --dataset sage \
|
| 165 |
+
--output outputs/huggingface/slat_targets_publish
|
| 166 |
+
```
|
| 167 |
+
|
| 168 |
+
The target upload excludes worker jobs, raw assets, model weights, and frozen image feature caches.
|
| 169 |
+
Use a fresh packaging directory when source manifests change.
|
| 170 |
+
Publish matching extent and target snapshots before documenting a new reproducible data revision.
|
| 171 |
|
| 172 |
## Format and provenance
|
| 173 |
|