Include encoded SS targets for foundationpose in standard restoration
Browse files- README.md +13 -16
- training/index.json +18 -4
README.md
CHANGED
|
@@ -12,7 +12,7 @@ pretty_name: PartProbe3D compact reproduction data
|
|
| 12 |
# PartProbe3D reproduction data
|
| 13 |
|
| 14 |
This release supports SS, generative SLAT segmentation, and 32³ SLAT shape training.
|
| 15 |
-
The default transfer is **
|
| 16 |
Default downloads exclude optional and deprecated folders.
|
| 17 |
|
| 18 |
<!-- partprobe3d-required-files:start -->
|
|
@@ -42,19 +42,13 @@ Older checkouts also require the corresponding restore patch under `code/`.
|
|
| 42 |
|
| 43 |
## Restore tools
|
| 44 |
|
| 45 |
-
Use
|
| 46 |
-
|
| 47 |
-
The patch preserves unrelated files and adds the compact readers and download commands.
|
| 48 |
|
| 49 |
```bash
|
| 50 |
-
hf download cubec/PartProbe3D-preprocessed code/reproduction.patch --repo-type dataset --local-dir outputs/huggingface/bootstrap
|
| 51 |
-
git apply --check outputs/huggingface/bootstrap/code/reproduction.patch
|
| 52 |
-
git apply outputs/huggingface/bootstrap/code/reproduction.patch
|
| 53 |
python -m pip install -e '.[preprocess,ss-multiobj-depth,slat-segvigen,slat-multiobj-shape]'
|
| 54 |
```
|
| 55 |
|
| 56 |
-
The [source manifest](code/manifest.json) records the patch checksum and required Git revision.
|
| 57 |
-
|
| 58 |
## Default download
|
| 59 |
|
| 60 |
Run this command from the patched project root:
|
|
@@ -63,7 +57,8 @@ Run this command from the patched project root:
|
|
| 63 |
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed
|
| 64 |
```
|
| 65 |
|
| 66 |
-
The command restores 3D-FRONT, SAGE-10k, and
|
|
|
|
| 67 |
It verifies each archive and removes temporary archives after restoration.
|
| 68 |
The downloader pins one Hub revision before reading any archive.
|
| 69 |
Add `--revision <Hub commit>` to select a fixed release.
|
|
@@ -73,9 +68,11 @@ Add `--keep-archives` only when you need temporary transfer files.
|
|
| 73 |
| --- | ---: | ---: | ---: | ---: |
|
| 74 |
| 3dfront | 39,930 | 39,930 | 16 | 123.01 |
|
| 75 |
| sage | 17,456 | 17,453 | 16 | 78.73 |
|
| 76 |
-
| foundationpose | 42,256 | Unavailable | 16 |
|
| 77 |
|
| 78 |
-
|
|
|
|
|
|
|
| 79 |
|
| 80 |
```bash
|
| 81 |
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed --dataset foundationpose
|
|
@@ -127,13 +124,12 @@ python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed
|
|
| 127 |
## Train all three stages
|
| 128 |
|
| 129 |
Obtain the configured model weights separately.
|
| 130 |
-
|
| 131 |
|
| 132 |
```bash
|
| 133 |
export CUDA_VISIBLE_DEVICES=4,6
|
| 134 |
export CUDA_DEVICE_ORDER=PCI_BUS_ID
|
| 135 |
-
python -m ss_multiobj_depth.
|
| 136 |
-
python -m ss_multiobj_depth.train --config ss_multiobj_depth/configs/front3d_sage.json
|
| 137 |
python -m slat_segvigen.train --config slat_segvigen/configs/object_mean_image_nora_coverage_gate.json
|
| 138 |
python -m preprocess.slat.prepare --config preprocess/slat/configs/front3d_sage_32_assigned_object.json --stage features --devices cuda:0 cuda:1
|
| 139 |
python -m slat_multiobj_shape.train --config slat_multiobj_shape/configs/front3d_sage_32_assigned_object.json
|
|
@@ -205,6 +201,7 @@ Model weights remain separate dependencies.
|
|
| 205 |
| --- | ---: | ---: |
|
| 206 |
| 3dfront | 49,996 | 31.249 |
|
| 207 |
| sage | 19,408 | 4.175 |
|
|
|
|
| 208 |
|
| 209 |
Use the current project checkout and download the selected datasets:
|
| 210 |
|
|
@@ -212,7 +209,7 @@ Use the current project checkout and download the selected datasets:
|
|
| 212 |
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed
|
| 213 |
```
|
| 214 |
|
| 215 |
-
|
| 216 |
The downloader checks archive hashes before extraction.
|
| 217 |
The training loader checks dataset and frozen codec identities.
|
| 218 |
The image encoders compute features during training.
|
|
|
|
| 12 |
# PartProbe3D reproduction data
|
| 13 |
|
| 14 |
This release supports SS, generative SLAT segmentation, and 32³ SLAT shape training.
|
| 15 |
+
The default transfer is **271.79 GB**, including observations, SS targets, and available shape targets.
|
| 16 |
Default downloads exclude optional and deprecated folders.
|
| 17 |
|
| 18 |
<!-- partprobe3d-required-files:start -->
|
|
|
|
| 42 |
|
| 43 |
## Restore tools
|
| 44 |
|
| 45 |
+
Use project Git revision `32d92a1e1b9e99eafaac9dda13c43e676a7aeeb3` or later.
|
| 46 |
+
This revision includes the restore tools and the online SS defaults.
|
|
|
|
| 47 |
|
| 48 |
```bash
|
|
|
|
|
|
|
|
|
|
| 49 |
python -m pip install -e '.[preprocess,ss-multiobj-depth,slat-segvigen,slat-multiobj-shape]'
|
| 50 |
```
|
| 51 |
|
|
|
|
|
|
|
| 52 |
## Default download
|
| 53 |
|
| 54 |
Run this command from the patched project root:
|
|
|
|
| 57 |
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed
|
| 58 |
```
|
| 59 |
|
| 60 |
+
The command restores observations and SS targets for 3D-FRONT, SAGE-10k, and FoundationPose.
|
| 61 |
+
It also restores available 32³ object shape targets.
|
| 62 |
It verifies each archive and removes temporary archives after restoration.
|
| 63 |
The downloader pins one Hub revision before reading any archive.
|
| 64 |
Add `--revision <Hub commit>` to select a fixed release.
|
|
|
|
| 68 |
| --- | ---: | ---: | ---: | ---: |
|
| 69 |
| 3dfront | 39,930 | 39,930 | 16 | 123.01 |
|
| 70 |
| sage | 17,456 | 17,453 | 16 | 78.73 |
|
| 71 |
+
| foundationpose | 42,256 | Unavailable | 16 | 70.05 |
|
| 72 |
|
| 73 |
+
The default includes FoundationPose for SS and segmentation.
|
| 74 |
+
FoundationPose shape targets remain unavailable.
|
| 75 |
+
Use this command to restore FoundationPose alone:
|
| 76 |
|
| 77 |
```bash
|
| 78 |
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed --dataset foundationpose
|
|
|
|
| 124 |
## Train all three stages
|
| 125 |
|
| 126 |
Obtain the configured model weights separately.
|
| 127 |
+
The restored SS targets support online SS training directly.
|
| 128 |
|
| 129 |
```bash
|
| 130 |
export CUDA_VISIBLE_DEVICES=4,6
|
| 131 |
export CUDA_DEVICE_ORDER=PCI_BUS_ID
|
| 132 |
+
python -m ss_multiobj_depth.train
|
|
|
|
| 133 |
python -m slat_segvigen.train --config slat_segvigen/configs/object_mean_image_nora_coverage_gate.json
|
| 134 |
python -m preprocess.slat.prepare --config preprocess/slat/configs/front3d_sage_32_assigned_object.json --stage features --devices cuda:0 cuda:1
|
| 135 |
python -m slat_multiobj_shape.train --config slat_multiobj_shape/configs/front3d_sage_32_assigned_object.json
|
|
|
|
| 201 |
| --- | ---: | ---: |
|
| 202 |
| 3dfront | 49,996 | 31.249 |
|
| 203 |
| sage | 19,408 | 4.175 |
|
| 204 |
+
| foundationpose | 46,948 | 8.292 |
|
| 205 |
|
| 206 |
Use the current project checkout and download the selected datasets:
|
| 207 |
|
|
|
|
| 209 |
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed
|
| 210 |
```
|
| 211 |
|
| 212 |
+
SS training can then use the default online configuration without a preparation command.
|
| 213 |
The downloader checks archive hashes before extraction.
|
| 214 |
The training loader checks dataset and frozen codec identities.
|
| 215 |
The image encoders compute features during training.
|
training/index.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
| 3 |
"complete": true,
|
| 4 |
"default_datasets": [
|
| 5 |
"3dfront",
|
| 6 |
-
"sage"
|
|
|
|
| 7 |
],
|
| 8 |
"monitor_views_per_dataset": 16,
|
| 9 |
"datasets": {
|
|
@@ -67,15 +68,28 @@
|
|
| 67 |
},
|
| 68 |
"foundationpose": {
|
| 69 |
"required": [
|
| 70 |
-
"training/observations/foundationpose"
|
|
|
|
| 71 |
],
|
| 72 |
-
"bytes":
|
| 73 |
"source_manifest_sha256": "2c4dcd1cd1e2e56a0eb08f2f92da320f299729c8ce7a2f52828c272cbc1fa0ad",
|
| 74 |
"resolution": 64,
|
| 75 |
"source_views": 46948,
|
| 76 |
"views": 42272,
|
| 77 |
"monitor_views": 16,
|
| 78 |
-
"training_views": 42256
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
},
|
| 81 |
"optional": {
|
|
|
|
| 3 |
"complete": true,
|
| 4 |
"default_datasets": [
|
| 5 |
"3dfront",
|
| 6 |
+
"sage",
|
| 7 |
+
"foundationpose"
|
| 8 |
],
|
| 9 |
"monitor_views_per_dataset": 16,
|
| 10 |
"datasets": {
|
|
|
|
| 68 |
},
|
| 69 |
"foundationpose": {
|
| 70 |
"required": [
|
| 71 |
+
"training/observations/foundationpose",
|
| 72 |
+
"training/ss/foundationpose"
|
| 73 |
],
|
| 74 |
+
"bytes": 70050703360,
|
| 75 |
"source_manifest_sha256": "2c4dcd1cd1e2e56a0eb08f2f92da320f299729c8ce7a2f52828c272cbc1fa0ad",
|
| 76 |
"resolution": 64,
|
| 77 |
"source_views": 46948,
|
| 78 |
"views": 42272,
|
| 79 |
"monitor_views": 16,
|
| 80 |
+
"training_views": 42256,
|
| 81 |
+
"ss_targets": {
|
| 82 |
+
"component": "training/ss/foundationpose",
|
| 83 |
+
"bytes": 8292392960,
|
| 84 |
+
"views": 46948,
|
| 85 |
+
"latent_shape": [
|
| 86 |
+
8,
|
| 87 |
+
16,
|
| 88 |
+
16,
|
| 89 |
+
16
|
| 90 |
+
],
|
| 91 |
+
"target_scope": "masked_objects_complete_occupancy"
|
| 92 |
+
}
|
| 93 |
}
|
| 94 |
},
|
| 95 |
"optional": {
|