Document GT occlusion cache upload and restoration
Browse files- README.md +56 -0
- precomputed_occlusion/README.md +54 -0
README.md
CHANGED
|
@@ -64,6 +64,62 @@ The extent archives exclude diagnostic subsets, raw downloads, model weights, an
|
|
| 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.
|
|
|
|
| 64 |
FoundationPose currently has raw archives only.
|
| 65 |
|
| 66 |
|
| 67 |
+
## GT occlusion relations
|
| 68 |
+
|
| 69 |
+
Separate archives under `precomputed_occlusion/` preserve the completed GT occlusion caches.
|
| 70 |
+
The caches contain directed `[front, back]` relations from calibrated visible masks and posed GT mesh silhouettes.
|
| 71 |
+
Each archive preserves the original matrices, completion records, and manifest bytes.
|
| 72 |
+
|
| 73 |
+
| Dataset | Training views | Test views | Archives | Size, MB |
|
| 74 |
+
| --- | ---: | ---: | ---: | ---: |
|
| 75 |
+
| 3D-FRONT | 39,930 | 10,066 | 3 | 240.01 |
|
| 76 |
+
| SAGE-10k | 17,456 | 1,952 | 3 | 103.45 |
|
| 77 |
+
| Total | 57,386 | 12,018 | 6 | 343.46 |
|
| 78 |
+
|
| 79 |
+
MB means decimal megabytes.
|
| 80 |
+
The inventories at `precomputed_occlusion/<dataset>/index.json` record archive sizes and SHA-256 checksums.
|
| 81 |
+
They also preserve the source policy and checksum of the matching extent manifest.
|
| 82 |
+
|
| 83 |
+
### Download GT occlusion caches
|
| 84 |
+
|
| 85 |
+
Restore the matching extent datasets before these overlays.
|
| 86 |
+
Run these commands from the repository root.
|
| 87 |
+
|
| 88 |
+
```bash
|
| 89 |
+
python -m preprocess.huggingface download \
|
| 90 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_occlusion \
|
| 91 |
+
--dataset 3dfront --revision 88cdf8f0e880a33e7cafa580ee9722776f16aa28 --cleanup
|
| 92 |
+
python -m preprocess.huggingface download \
|
| 93 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_occlusion \
|
| 94 |
+
--dataset sage --revision 88cdf8f0e880a33e7cafa580ee9722776f16aa28 --cleanup
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
The commands restore `datasets/<dataset>/extent/point_cloud/occlusion/`.
|
| 98 |
+
The downloader verifies each archive and refuses to replace different existing files.
|
| 99 |
+
The dataset reader checks the extent manifest identity before reading GT relations.
|
| 100 |
+
|
| 101 |
+
SS training with occlusion-aware object cross-attention reads these relations.
|
| 102 |
+
SLAT shape tokens already have instance identities and require no occlusion matrix.
|
| 103 |
+
Frozen image features and SLAT shape latents remain separate artifacts.
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
### Publish GT occlusion caches
|
| 107 |
+
|
| 108 |
+
Package the verified caches from the prepared extent roots:
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
python -m preprocess.huggingface pack --artifact-kind gt-occlusion \
|
| 112 |
+
--dataset 3dfront=datasets/3dfront/extent/point_cloud \
|
| 113 |
+
--dataset sage=datasets/sage/extent/point_cloud \
|
| 114 |
+
--output outputs/huggingface/gt_occlusion
|
| 115 |
+
python -m preprocess.huggingface upload \
|
| 116 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_occlusion \
|
| 117 |
+
--dataset 3dfront --dataset sage --output outputs/huggingface/gt_occlusion
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
Packaging checks every matrix checksum and its completion record.
|
| 121 |
+
The uploader publishes complete inventories after it verifies all remote archives.
|
| 122 |
+
|
| 123 |
## SLAT shape: upload and download specification
|
| 124 |
|
| 125 |
The repository contains prepared extent datasets and separate SLAT-shape targets.
|
precomputed_occlusion/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GT occlusion relations
|
| 2 |
+
|
| 3 |
+
Separate archives under `precomputed_occlusion/` preserve the completed GT occlusion caches.
|
| 4 |
+
The caches contain directed `[front, back]` relations from calibrated visible masks and posed GT mesh silhouettes.
|
| 5 |
+
Each archive preserves the original matrices, completion records, and manifest bytes.
|
| 6 |
+
|
| 7 |
+
| Dataset | Training views | Test views | Archives | Size, MB |
|
| 8 |
+
| --- | ---: | ---: | ---: | ---: |
|
| 9 |
+
| 3D-FRONT | 39,930 | 10,066 | 3 | 240.01 |
|
| 10 |
+
| SAGE-10k | 17,456 | 1,952 | 3 | 103.45 |
|
| 11 |
+
| Total | 57,386 | 12,018 | 6 | 343.46 |
|
| 12 |
+
|
| 13 |
+
MB means decimal megabytes.
|
| 14 |
+
The inventories at `precomputed_occlusion/<dataset>/index.json` record archive sizes and SHA-256 checksums.
|
| 15 |
+
They also preserve the source policy and checksum of the matching extent manifest.
|
| 16 |
+
|
| 17 |
+
## Download GT occlusion caches
|
| 18 |
+
|
| 19 |
+
Restore the matching extent datasets before these overlays.
|
| 20 |
+
Run these commands from the repository root.
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
python -m preprocess.huggingface download \
|
| 24 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_occlusion \
|
| 25 |
+
--dataset 3dfront --revision 88cdf8f0e880a33e7cafa580ee9722776f16aa28 --cleanup
|
| 26 |
+
python -m preprocess.huggingface download \
|
| 27 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_occlusion \
|
| 28 |
+
--dataset sage --revision 88cdf8f0e880a33e7cafa580ee9722776f16aa28 --cleanup
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
The commands restore `datasets/<dataset>/extent/point_cloud/occlusion/`.
|
| 32 |
+
The downloader verifies each archive and refuses to replace different existing files.
|
| 33 |
+
The dataset reader checks the extent manifest identity before reading GT relations.
|
| 34 |
+
|
| 35 |
+
SS training with occlusion-aware object cross-attention reads these relations.
|
| 36 |
+
SLAT shape tokens already have instance identities and require no occlusion matrix.
|
| 37 |
+
Frozen image features and SLAT shape latents remain separate artifacts.
|
| 38 |
+
|
| 39 |
+
## Publish GT occlusion caches
|
| 40 |
+
|
| 41 |
+
Package the verified caches from the prepared extent roots:
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
python -m preprocess.huggingface pack --artifact-kind gt-occlusion \
|
| 45 |
+
--dataset 3dfront=datasets/3dfront/extent/point_cloud \
|
| 46 |
+
--dataset sage=datasets/sage/extent/point_cloud \
|
| 47 |
+
--output outputs/huggingface/gt_occlusion
|
| 48 |
+
python -m preprocess.huggingface upload \
|
| 49 |
+
--repo cubec/PartProbe3D-preprocessed --bundle-root precomputed_occlusion \
|
| 50 |
+
--dataset 3dfront --dataset sage --output outputs/huggingface/gt_occlusion
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Packaging checks every matrix checksum and its completion record.
|
| 54 |
+
The uploader publishes complete inventories after it verifies all remote archives.
|