Flatten evaluation dataset layout
Browse files- README.md +3 -3
- code/evaluation.patch +104 -12
- code/evaluation_manifest.json +7 -5
- optional/evaluation/{indoor/3dfront-00023.tar → 3dfront-00023.tar} +0 -0
- optional/evaluation/{indoor/3dfront-00024.tar → 3dfront-00024.tar} +0 -0
- optional/evaluation/{indoor/README.md → README.md} +4 -4
- optional/evaluation/{indoor/index.json → index.json} +6 -5
- optional/evaluation/{indoor/messykitchen-00001.tar → messykitchen-00001.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00002.tar → messykitchen-00002.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00003.tar → messykitchen-00003.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00004.tar → messykitchen-00004.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00005.tar → messykitchen-00005.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00006.tar → messykitchen-00006.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00007.tar → messykitchen-00007.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00008.tar → messykitchen-00008.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00009.tar → messykitchen-00009.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00010.tar → messykitchen-00010.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00011.tar → messykitchen-00011.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00012.tar → messykitchen-00012.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00013.tar → messykitchen-00013.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00014.tar → messykitchen-00014.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00015.tar → messykitchen-00015.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00016.tar → messykitchen-00016.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00017.tar → messykitchen-00017.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00018.tar → messykitchen-00018.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00019.tar → messykitchen-00019.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00020.tar → messykitchen-00020.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00021.tar → messykitchen-00021.tar} +0 -0
- optional/evaluation/{indoor/messykitchen-00022.tar → messykitchen-00022.tar} +0 -0
- optional/evaluation/{indoor/metadata.tar → metadata.tar} +1 -1
- optional/evaluation/{indoor/picasso-00000.tar → picasso-00000.tar} +0 -0
- training/index.json +2 -2
README.md
CHANGED
|
@@ -145,9 +145,9 @@ The prepared data does not replace access agreements for original source assets.
|
|
| 145 |
[Posed object geometry](previews/3dfront/train-geometry.glb)
|
| 146 |
|
| 147 |
<!-- partprobe3d-frozen-evaluation:start -->
|
| 148 |
-
## Frozen
|
| 149 |
|
| 150 |
-
The optional [
|
| 151 |
It includes all 100 PICASSO images, all 1,503 MessyKitchens images, and 1,000 random 3D-FRONT test views.
|
| 152 |
The transfer is 23.40 GB.
|
| 153 |
MessyKitchens shares 100 GT scene meshes across its views.
|
|
@@ -156,6 +156,6 @@ Default training downloads exclude this bundle.
|
|
| 156 |
Apply the loader patch described in the bundle documentation before evaluating its samples.
|
| 157 |
|
| 158 |
```bash
|
| 159 |
-
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed --
|
| 160 |
```
|
| 161 |
<!-- partprobe3d-frozen-evaluation:end -->
|
|
|
|
| 145 |
[Posed object geometry](previews/3dfront/train-geometry.glb)
|
| 146 |
|
| 147 |
<!-- partprobe3d-frozen-evaluation:start -->
|
| 148 |
+
## Frozen evaluation
|
| 149 |
|
| 150 |
+
The optional [evaluation bundle](optional/evaluation/README.md) contains 2,603 images with visible masks and GT object meshes.
|
| 151 |
It includes all 100 PICASSO images, all 1,503 MessyKitchens images, and 1,000 random 3D-FRONT test views.
|
| 152 |
The transfer is 23.40 GB.
|
| 153 |
MessyKitchens shares 100 GT scene meshes across its views.
|
|
|
|
| 156 |
Apply the loader patch described in the bundle documentation before evaluating its samples.
|
| 157 |
|
| 158 |
```bash
|
| 159 |
+
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed --optional evaluation
|
| 160 |
```
|
| 161 |
<!-- partprobe3d-frozen-evaluation:end -->
|
code/evaluation.patch
CHANGED
|
@@ -231,6 +231,98 @@ index 3968d22..5f985e0 100644
|
|
| 231 |
def collect_runs(run, selection):
|
| 232 |
"""Collect recorded model outputs and disjoint shards by their method metadata."""
|
| 233 |
expected = {frame["key"]: frame for frame in selection["frames"]}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 234 |
diff --git a/dataloader/frozen.py b/dataloader/frozen.py
|
| 235 |
new file mode 100644
|
| 236 |
index 0000000..2a43518
|
|
@@ -313,7 +405,7 @@ index 0000000..2a43518
|
|
| 313 |
+ 'source_dataset': self.manifest['source_dataset'], 'gt_representation': 'exported GLB float32'}
|
| 314 |
diff --git a/preprocess/evaluation.py b/preprocess/evaluation.py
|
| 315 |
new file mode 100644
|
| 316 |
-
index 0000000..
|
| 317 |
--- /dev/null
|
| 318 |
+++ b/preprocess/evaluation.py
|
| 319 |
@@ -0,0 +1,171 @@
|
|
@@ -434,7 +526,7 @@ index 0000000..8f6dd03
|
|
| 434 |
+ output.mkdir(parents=True, exist_ok=True)
|
| 435 |
+ publisher = Publisher(repo, workers=workers)
|
| 436 |
+ result = {'repo': repo, 'complete': False, 'total_views': cohort['total_views'],
|
| 437 |
-
+ 'component': 'optional/evaluation
|
| 438 |
+ atomic_json(output / 'status.json', result)
|
| 439 |
+ metadata = [source / 'index.json', *sorted(source.glob('*.md'))]
|
| 440 |
+ groups, checksums = [], {}
|
|
@@ -453,8 +545,8 @@ index 0000000..8f6dd03
|
|
| 453 |
+ metadata.extend([root / 'manifest.json', root / 'source_selection.json', *sorted(root.glob('*.md'))])
|
| 454 |
+ groups.extend((name, sorted(paths), counts[scene]) for scene, paths in sorted(scenes.items()))
|
| 455 |
+ checksums.update({artifact_path(root, key): value for key, value in manifest['files'].items()})
|
| 456 |
-
+ index = package(source, output, 'optional
|
| 457 |
-
+ destination=Path('datasets/evaluation
|
| 458 |
+ metadata=metadata, groups=groups, checksums=checksums,
|
| 459 |
+ details={'source_manifest_sha256': sha256(source / 'index.json'), 'views': cohort['total_views'],
|
| 460 |
+ 'datasets': cohort['datasets'], 'evaluation_only': True},
|
|
@@ -470,10 +562,10 @@ index 0000000..8f6dd03
|
|
| 470 |
+ commands = parser.add_subparsers(dest='command', required=True)
|
| 471 |
+ staging = commands.add_parser('store')
|
| 472 |
+ staging.add_argument('--source', type=Path, required=True)
|
| 473 |
-
+ staging.add_argument('--destination', type=Path, default=Path('datasets/evaluation
|
| 474 |
+ staging.add_argument('--workers', type=int, default=4)
|
| 475 |
+ publishing = commands.add_parser('publish')
|
| 476 |
-
+ publishing.add_argument('--source', type=Path, default=Path('datasets/evaluation
|
| 477 |
+ publishing.add_argument('--output', type=Path, default=Path('outputs/huggingface/evaluation'))
|
| 478 |
+ publishing.add_argument('--repo', default=DEFAULT_REPO)
|
| 479 |
+ publishing.add_argument('--workers', type=int, default=4)
|
|
@@ -490,28 +582,28 @@ index 0000000..8f6dd03
|
|
| 490 |
+ main()
|
| 491 |
diff --git a/evaluation/configs/picasso_frozen.json b/evaluation/configs/picasso_frozen.json
|
| 492 |
new file mode 100644
|
| 493 |
-
index 0000000..
|
| 494 |
--- /dev/null
|
| 495 |
+++ b/evaluation/configs/picasso_frozen.json
|
| 496 |
@@ -0,0 +1,3 @@
|
| 497 |
+{
|
| 498 |
-
+ "root": "datasets/evaluation/
|
| 499 |
+}
|
| 500 |
diff --git a/evaluation/configs/messykitchen_frozen.json b/evaluation/configs/messykitchen_frozen.json
|
| 501 |
new file mode 100644
|
| 502 |
-
index 0000000..
|
| 503 |
--- /dev/null
|
| 504 |
+++ b/evaluation/configs/messykitchen_frozen.json
|
| 505 |
@@ -0,0 +1,3 @@
|
| 506 |
+{
|
| 507 |
-
+ "root": "datasets/evaluation/
|
| 508 |
+}
|
| 509 |
diff --git a/evaluation/configs/front3d_frozen.json b/evaluation/configs/front3d_frozen.json
|
| 510 |
new file mode 100644
|
| 511 |
-
index 0000000..
|
| 512 |
--- /dev/null
|
| 513 |
+++ b/evaluation/configs/front3d_frozen.json
|
| 514 |
@@ -0,0 +1,3 @@
|
| 515 |
+{
|
| 516 |
-
+ "root": "datasets/evaluation/
|
| 517 |
+}
|
|
|
|
| 231 |
def collect_runs(run, selection):
|
| 232 |
"""Collect recorded model outputs and disjoint shards by their method metadata."""
|
| 233 |
expected = {frame["key"]: frame for frame in selection["frames"]}
|
| 234 |
+
diff --git a/preprocess/huggingface.py b/preprocess/huggingface.py
|
| 235 |
+
index 2fdce63..df8bdf1 100644
|
| 236 |
+
--- a/preprocess/huggingface.py
|
| 237 |
+
+++ b/preprocess/huggingface.py
|
| 238 |
+
@@ -394,9 +394,9 @@ def extract(index, folder, destination):
|
| 239 |
+
if index.get('schema') != SCHEMA or not index.get('complete'):
|
| 240 |
+
raise ValueError('A complete archive index is required')
|
| 241 |
+
folder, destination = Path(folder), Path(destination).resolve()
|
| 242 |
+
- prefix = _relative(index['destination'])
|
| 243 |
+
+ prefix = _relative(index.get('archive_prefix', index['destination']))
|
| 244 |
+
restored_prefix = (_slat_destination(index['name'], index['resolution'])
|
| 245 |
+
- if index.get('artifact_kind') == 'slat-shape-targets' else prefix)
|
| 246 |
+
+ if index.get('artifact_kind') == 'slat-shape-targets' else _relative(index['destination']))
|
| 247 |
+
# Publish the original complete manifest only after restoring its artifacts.
|
| 248 |
+
for item in sorted(index['archives'], key=lambda item: item['file'] == 'metadata.tar'):
|
| 249 |
+
path = folder / _relative(item['file'])
|
| 250 |
+
@@ -563,7 +563,7 @@ def download(repo, name, destination, revision, *, cleanup=None, bundle_root=Non
|
| 251 |
+
# Keep active training folders free of transfer archives. Retain the legacy
|
| 252 |
+
# cache path only when an explicit historical component needs resume.
|
| 253 |
+
cache = (destination / 'datasets' / '_deprecated' / name / 'huggingface'
|
| 254 |
+
- if bundle_root.startswith(('training/', 'optional/'))
|
| 255 |
+
+ if bundle_root.split('/')[0] in ('training', 'optional')
|
| 256 |
+
else destination / 'datasets' / name / 'archives' / 'huggingface')
|
| 257 |
+
index_path = hf_hub_download(repo, f'{bundle_root}/{name}/index.json', repo_type='dataset',
|
| 258 |
+
revision=revision, local_dir=cache)
|
| 259 |
+
@@ -894,6 +894,8 @@ def main():
|
| 260 |
+
if args.optional and args.bundle_root:
|
| 261 |
+
parser.error('--optional and --bundle-root cannot be combined')
|
| 262 |
+
bundle_root = f'optional/{args.optional.replace("-", "_")}' if args.optional else args.bundle_root
|
| 263 |
+
+ if args.optional == 'evaluation' and args.dataset == 'all':
|
| 264 |
+
+ args.dataset, bundle_root = 'evaluation', 'optional'
|
| 265 |
+
if args.optional and args.dataset == 'all':
|
| 266 |
+
parser.error('Select one dataset with --dataset for an optional download')
|
| 267 |
+
cleanup = not args.keep_archives if bundle_root is None or args.optional else args.cleanup
|
| 268 |
+
diff --git a/preprocess/reproduction.py b/preprocess/reproduction.py
|
| 269 |
+
index fd0ccd7..deabce5 100644
|
| 270 |
+
--- a/preprocess/reproduction.py
|
| 271 |
+
+++ b/preprocess/reproduction.py
|
| 272 |
+
@@ -180,6 +180,8 @@ def package(root, output, component, name, *, destination, kind, metadata, group
|
| 273 |
+
raise ValueError(f'Package source changed. Select another output: {component}/{name}')
|
| 274 |
+
previous = {row['file']: row for row in old.get('archives', [])}
|
| 275 |
+
index = {'schema': SCHEMA, 'name': name, 'complete': False, **identity, 'archives': []}
|
| 276 |
+
+ if 'archive_prefix' in old:
|
| 277 |
+
+ index['archive_prefix'] = old['archive_prefix']
|
| 278 |
+
atomic_json(path, index)
|
| 279 |
+
|
| 280 |
+
def save(label, files, views):
|
| 281 |
+
@@ -197,7 +199,8 @@ def package(root, output, component, name, *, destination, kind, metadata, group
|
| 282 |
+
if reusable:
|
| 283 |
+
record = old_record
|
| 284 |
+
else:
|
| 285 |
+
- record = _archive(folder / filename, files, root, Path(destination), old_record, checksums=checksums)
|
| 286 |
+
+ record = _archive(folder / filename, files, root,
|
| 287 |
+
+ Path(index.get('archive_prefix', destination)), old_record, checksums=checksums)
|
| 288 |
+
record['views'] = views
|
| 289 |
+
index['archives'].append(record)
|
| 290 |
+
atomic_json(path, index)
|
| 291 |
+
@@ -440,14 +443,15 @@ def _copy_files(api, repo, output, mapping, *, revision=LEGACY_REVISION, remove_
|
| 292 |
+
return commits
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
-def export_code(output, base_revision):
|
| 296 |
+
- """Export only this migration's source changes, preserving unrelated workspace edits."""
|
| 297 |
+
+def export_code(output, base_revision, *, tracked=None, added=None, name='reproduction'):
|
| 298 |
+
+ """Export selected source changes and preserve unrelated workspace edits."""
|
| 299 |
+
output = Path(output)
|
| 300 |
+
folder = output / 'code'
|
| 301 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 302 |
+
- tracked = ['HF_DATASETS.md', 'preprocess/slat/HUGGING_FACE.md', 'preprocess/slat/README.md', 'dataloader/dataset.py',
|
| 303 |
+
- 'dataloader/extent.py', 'preprocess/huggingface.py', 'preprocess/validate_dataset.py']
|
| 304 |
+
- added = ['preprocess/reproduction.py', 'preprocess/tests/test_reproduction.py']
|
| 305 |
+
+ tracked = (['HF_DATASETS.md', 'preprocess/slat/HUGGING_FACE.md', 'preprocess/slat/README.md', 'dataloader/dataset.py',
|
| 306 |
+
+ 'dataloader/extent.py', 'preprocess/huggingface.py', 'preprocess/validate_dataset.py']
|
| 307 |
+
+ if tracked is None else tracked)
|
| 308 |
+
+ added = ['preprocess/reproduction.py', 'preprocess/tests/test_reproduction.py'] if added is None else added
|
| 309 |
+
content = subprocess.check_output(['git', 'diff', '--binary', base_revision, '--', *tracked, *added])
|
| 310 |
+
for path in added:
|
| 311 |
+
present = subprocess.run(['git', 'cat-file', '-e', f'{base_revision}:{path}'],
|
| 312 |
+
@@ -461,11 +465,11 @@ def export_code(output, base_revision):
|
| 313 |
+
if result.returncode not in (0, 1):
|
| 314 |
+
raise RuntimeError(f'Cannot export restore source: {path}')
|
| 315 |
+
content += result.stdout
|
| 316 |
+
- patch = folder / 'reproduction.patch'
|
| 317 |
+
+ patch = folder / f'{name}.patch'
|
| 318 |
+
patch.write_bytes(content)
|
| 319 |
+
manifest = {'base_git_revision': base_revision, 'patch_sha256': sha256(patch),
|
| 320 |
+
'files': {path: sha256(path) for path in [*tracked, *added]}}
|
| 321 |
+
- atomic_json(folder / 'manifest.json', manifest)
|
| 322 |
+
+ atomic_json(folder / ('manifest.json' if name == 'reproduction' else f'{name}_manifest.json'), manifest)
|
| 323 |
+
return manifest
|
| 324 |
+
|
| 325 |
+
|
| 326 |
diff --git a/dataloader/frozen.py b/dataloader/frozen.py
|
| 327 |
new file mode 100644
|
| 328 |
index 0000000..2a43518
|
|
|
|
| 405 |
+ 'source_dataset': self.manifest['source_dataset'], 'gt_representation': 'exported GLB float32'}
|
| 406 |
diff --git a/preprocess/evaluation.py b/preprocess/evaluation.py
|
| 407 |
new file mode 100644
|
| 408 |
+
index 0000000..abe6e3b
|
| 409 |
--- /dev/null
|
| 410 |
+++ b/preprocess/evaluation.py
|
| 411 |
@@ -0,0 +1,171 @@
|
|
|
|
| 526 |
+ output.mkdir(parents=True, exist_ok=True)
|
| 527 |
+ publisher = Publisher(repo, workers=workers)
|
| 528 |
+ result = {'repo': repo, 'complete': False, 'total_views': cohort['total_views'],
|
| 529 |
+
+ 'component': 'optional/evaluation', 'datasets': cohort['datasets']}
|
| 530 |
+ atomic_json(output / 'status.json', result)
|
| 531 |
+ metadata = [source / 'index.json', *sorted(source.glob('*.md'))]
|
| 532 |
+ groups, checksums = [], {}
|
|
|
|
| 545 |
+ metadata.extend([root / 'manifest.json', root / 'source_selection.json', *sorted(root.glob('*.md'))])
|
| 546 |
+ groups.extend((name, sorted(paths), counts[scene]) for scene, paths in sorted(scenes.items()))
|
| 547 |
+ checksums.update({artifact_path(root, key): value for key, value in manifest['files'].items()})
|
| 548 |
+
+ index = package(source, output, 'optional', 'evaluation',
|
| 549 |
+
+ destination=Path('datasets/evaluation'), kind='frozen-evaluation',
|
| 550 |
+ metadata=metadata, groups=groups, checksums=checksums,
|
| 551 |
+ details={'source_manifest_sha256': sha256(source / 'index.json'), 'views': cohort['total_views'],
|
| 552 |
+ 'datasets': cohort['datasets'], 'evaluation_only': True},
|
|
|
|
| 562 |
+ commands = parser.add_subparsers(dest='command', required=True)
|
| 563 |
+ staging = commands.add_parser('store')
|
| 564 |
+ staging.add_argument('--source', type=Path, required=True)
|
| 565 |
+
+ staging.add_argument('--destination', type=Path, default=Path('datasets/evaluation'))
|
| 566 |
+ staging.add_argument('--workers', type=int, default=4)
|
| 567 |
+ publishing = commands.add_parser('publish')
|
| 568 |
+
+ publishing.add_argument('--source', type=Path, default=Path('datasets/evaluation'))
|
| 569 |
+ publishing.add_argument('--output', type=Path, default=Path('outputs/huggingface/evaluation'))
|
| 570 |
+ publishing.add_argument('--repo', default=DEFAULT_REPO)
|
| 571 |
+ publishing.add_argument('--workers', type=int, default=4)
|
|
|
|
| 582 |
+ main()
|
| 583 |
diff --git a/evaluation/configs/picasso_frozen.json b/evaluation/configs/picasso_frozen.json
|
| 584 |
new file mode 100644
|
| 585 |
+
index 0000000..7d85ea9
|
| 586 |
--- /dev/null
|
| 587 |
+++ b/evaluation/configs/picasso_frozen.json
|
| 588 |
@@ -0,0 +1,3 @@
|
| 589 |
+{
|
| 590 |
+
+ "root": "datasets/evaluation/picasso"
|
| 591 |
+}
|
| 592 |
diff --git a/evaluation/configs/messykitchen_frozen.json b/evaluation/configs/messykitchen_frozen.json
|
| 593 |
new file mode 100644
|
| 594 |
+
index 0000000..2bf4e4b
|
| 595 |
--- /dev/null
|
| 596 |
+++ b/evaluation/configs/messykitchen_frozen.json
|
| 597 |
@@ -0,0 +1,3 @@
|
| 598 |
+{
|
| 599 |
+
+ "root": "datasets/evaluation/messykitchen"
|
| 600 |
+}
|
| 601 |
diff --git a/evaluation/configs/front3d_frozen.json b/evaluation/configs/front3d_frozen.json
|
| 602 |
new file mode 100644
|
| 603 |
+
index 0000000..c84bba7
|
| 604 |
--- /dev/null
|
| 605 |
+++ b/evaluation/configs/front3d_frozen.json
|
| 606 |
@@ -0,0 +1,3 @@
|
| 607 |
+{
|
| 608 |
+
+ "root": "datasets/evaluation/3dfront"
|
| 609 |
+}
|
code/evaluation_manifest.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"base_git_revision": "290027fe9f281a21db978a48da21bb9be90e5517",
|
| 3 |
-
"patch_sha256": "
|
| 4 |
"files": {
|
| 5 |
"dataloader/registry.py": "97690914f4c50c9f7d31213bb9dab174bc740cdd62bf7b217ccfe456b6b387e7",
|
| 6 |
"evaluation/artifacts.py": "232f1b6ffd0374813ea93857ecb378c317a962b2bfbbb4cce0fd7d28e88fe12c",
|
| 7 |
"evaluation/evaluate.py": "3d9115be9eb34e1e6193a31f3fb4e5bf770f60b70701dbf7d67017376b87ed17",
|
| 8 |
"evaluation/workflows.py": "0623408a288a31d5502531f377c5492b985b5dc69429858d21180eaf0b06d2ba",
|
|
|
|
|
|
|
| 9 |
"dataloader/frozen.py": "5efdb2209519d556f363599226d0d511de14009529899813b48a5574432bc508",
|
| 10 |
-
"preprocess/evaluation.py": "
|
| 11 |
-
"evaluation/configs/picasso_frozen.json": "
|
| 12 |
-
"evaluation/configs/messykitchen_frozen.json": "
|
| 13 |
-
"evaluation/configs/front3d_frozen.json": "
|
| 14 |
}
|
| 15 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"base_git_revision": "290027fe9f281a21db978a48da21bb9be90e5517",
|
| 3 |
+
"patch_sha256": "4f5c19b5f257d3b99a8a423fca841de85f551d71de04af5b7d80c4a7a1673698",
|
| 4 |
"files": {
|
| 5 |
"dataloader/registry.py": "97690914f4c50c9f7d31213bb9dab174bc740cdd62bf7b217ccfe456b6b387e7",
|
| 6 |
"evaluation/artifacts.py": "232f1b6ffd0374813ea93857ecb378c317a962b2bfbbb4cce0fd7d28e88fe12c",
|
| 7 |
"evaluation/evaluate.py": "3d9115be9eb34e1e6193a31f3fb4e5bf770f60b70701dbf7d67017376b87ed17",
|
| 8 |
"evaluation/workflows.py": "0623408a288a31d5502531f377c5492b985b5dc69429858d21180eaf0b06d2ba",
|
| 9 |
+
"preprocess/huggingface.py": "c747bf74aaa8ac262cfd5459199cba08e4fe574b1d5bae830dccb3abaa36398f",
|
| 10 |
+
"preprocess/reproduction.py": "7f5a50c5dfac603ab529ee4a4aab9a60a5aad8f748dfa03bfa270db0e233c069",
|
| 11 |
"dataloader/frozen.py": "5efdb2209519d556f363599226d0d511de14009529899813b48a5574432bc508",
|
| 12 |
+
"preprocess/evaluation.py": "3e3b826fc5f9a50dd0e5c85a4094ec60ae17b397b357d9800516a65ea1615b3e",
|
| 13 |
+
"evaluation/configs/picasso_frozen.json": "5e691ad4b2266fb16f43c24c548a98bf3b68f139d471b956a36d0996a5b6492b",
|
| 14 |
+
"evaluation/configs/messykitchen_frozen.json": "b85423fbc37b16d64b57da59cb6bbde41194c1bf39cd065e72f7203f9f223a46",
|
| 15 |
+
"evaluation/configs/front3d_frozen.json": "661d67d3ba5f2a6a40f7dfbdbc5075e6f200ab14f94c8c90be0f8d285a54a07f"
|
| 16 |
}
|
| 17 |
}
|
optional/evaluation/{indoor/3dfront-00023.tar → 3dfront-00023.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/3dfront-00024.tar → 3dfront-00024.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/README.md → README.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# PartProbe3D frozen
|
| 2 |
|
| 3 |
This bundle contains 2,603 single-image evaluation samples and their GT object meshes.
|
| 4 |
It requires about 23.4 GB, including RGB images, visible masks, previews, and shared geometry.
|
|
@@ -25,11 +25,11 @@ hf download cubec/PartProbe3D-preprocessed code/evaluation.patch --repo-type dat
|
|
| 25 |
git apply --check outputs/huggingface/bootstrap/code/evaluation.patch
|
| 26 |
git apply outputs/huggingface/bootstrap/code/evaluation.patch
|
| 27 |
python -m pip install -e '.[preprocess]'
|
| 28 |
-
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed --
|
| 29 |
```
|
| 30 |
|
| 31 |
The downloader pins one Hub revision and verifies every archive checksum before restoration.
|
| 32 |
-
The optional bundle restores to `datasets/evaluation/
|
| 33 |
Default training downloads exclude this bundle.
|
| 34 |
The source manifest at `code/evaluation_manifest.json` records the loader files and patch checksum.
|
| 35 |
|
|
@@ -38,7 +38,7 @@ The source manifest at `code/evaluation_manifest.json` records the loader files
|
|
| 38 |
```python
|
| 39 |
from dataloader.frozen import FrozenEvaluationLoader
|
| 40 |
|
| 41 |
-
dataset = FrozenEvaluationLoader('datasets/evaluation/
|
| 42 |
sample = dataset[0]
|
| 43 |
rgb, masks, meshes = sample.rgb, sample.masks, sample.gt_meshes
|
| 44 |
```
|
|
|
|
| 1 |
+
# PartProbe3D frozen evaluation
|
| 2 |
|
| 3 |
This bundle contains 2,603 single-image evaluation samples and their GT object meshes.
|
| 4 |
It requires about 23.4 GB, including RGB images, visible masks, previews, and shared geometry.
|
|
|
|
| 25 |
git apply --check outputs/huggingface/bootstrap/code/evaluation.patch
|
| 26 |
git apply outputs/huggingface/bootstrap/code/evaluation.patch
|
| 27 |
python -m pip install -e '.[preprocess]'
|
| 28 |
+
python -m preprocess.huggingface download --repo cubec/PartProbe3D-preprocessed --optional evaluation
|
| 29 |
```
|
| 30 |
|
| 31 |
The downloader pins one Hub revision and verifies every archive checksum before restoration.
|
| 32 |
+
The optional bundle restores to `datasets/evaluation/`.
|
| 33 |
Default training downloads exclude this bundle.
|
| 34 |
The source manifest at `code/evaluation_manifest.json` records the loader files and patch checksum.
|
| 35 |
|
|
|
|
| 38 |
```python
|
| 39 |
from dataloader.frozen import FrozenEvaluationLoader
|
| 40 |
|
| 41 |
+
dataset = FrozenEvaluationLoader('datasets/evaluation/messykitchen')
|
| 42 |
sample = dataset[0]
|
| 43 |
rgb, masks, meshes = sample.rgb, sample.masks, sample.gt_meshes
|
| 44 |
```
|
optional/evaluation/{indoor/index.json → index.json}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"schema": "partprobe3d.hub-archives.v1",
|
| 3 |
-
"name": "
|
| 4 |
"complete": true,
|
| 5 |
-
"destination": "datasets/evaluation
|
| 6 |
"artifact_kind": "frozen-evaluation",
|
| 7 |
"source_manifest_sha256": "f4c0dce6c5b4839f70e8a36ce66df00a743dc6b4c531b59071f7603137f5fe8d",
|
| 8 |
"views": 2603,
|
|
@@ -31,8 +31,8 @@
|
|
| 31 |
{
|
| 32 |
"file": "metadata.tar",
|
| 33 |
"bytes": 13086720,
|
| 34 |
-
"sha256": "
|
| 35 |
-
"identity": "
|
| 36 |
"files": 9,
|
| 37 |
"views": 0
|
| 38 |
},
|
|
@@ -237,5 +237,6 @@
|
|
| 237 |
"views": 449
|
| 238 |
}
|
| 239 |
],
|
| 240 |
-
"bytes": 23404277760
|
|
|
|
| 241 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"schema": "partprobe3d.hub-archives.v1",
|
| 3 |
+
"name": "evaluation",
|
| 4 |
"complete": true,
|
| 5 |
+
"destination": "datasets/evaluation",
|
| 6 |
"artifact_kind": "frozen-evaluation",
|
| 7 |
"source_manifest_sha256": "f4c0dce6c5b4839f70e8a36ce66df00a743dc6b4c531b59071f7603137f5fe8d",
|
| 8 |
"views": 2603,
|
|
|
|
| 31 |
{
|
| 32 |
"file": "metadata.tar",
|
| 33 |
"bytes": 13086720,
|
| 34 |
+
"sha256": "1fe0fb12ecbac88f325b161e3bd5479247a440dfe35fdcdbe89a8bb148932849",
|
| 35 |
+
"identity": "7293a27f5a6c5076c4be6deff6915409a3040040c2a1af10b8ae7ea6914799f8",
|
| 36 |
"files": 9,
|
| 37 |
"views": 0
|
| 38 |
},
|
|
|
|
| 237 |
"views": 449
|
| 238 |
}
|
| 239 |
],
|
| 240 |
+
"bytes": 23404277760,
|
| 241 |
+
"archive_prefix": "datasets/evaluation/indoor"
|
| 242 |
}
|
optional/evaluation/{indoor/messykitchen-00001.tar → messykitchen-00001.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00002.tar → messykitchen-00002.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00003.tar → messykitchen-00003.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00004.tar → messykitchen-00004.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00005.tar → messykitchen-00005.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00006.tar → messykitchen-00006.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00007.tar → messykitchen-00007.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00008.tar → messykitchen-00008.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00009.tar → messykitchen-00009.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00010.tar → messykitchen-00010.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00011.tar → messykitchen-00011.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00012.tar → messykitchen-00012.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00013.tar → messykitchen-00013.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00014.tar → messykitchen-00014.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00015.tar → messykitchen-00015.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00016.tar → messykitchen-00016.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00017.tar → messykitchen-00017.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00018.tar → messykitchen-00018.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00019.tar → messykitchen-00019.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00020.tar → messykitchen-00020.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00021.tar → messykitchen-00021.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/messykitchen-00022.tar → messykitchen-00022.tar}
RENAMED
|
File without changes
|
optional/evaluation/{indoor/metadata.tar → metadata.tar}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 13086720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fe0fb12ecbac88f325b161e3bd5479247a440dfe35fdcdbe89a8bb148932849
|
| 3 |
size 13086720
|
optional/evaluation/{indoor/picasso-00000.tar → picasso-00000.tar}
RENAMED
|
File without changes
|
training/index.json
CHANGED
|
@@ -85,8 +85,8 @@
|
|
| 85 |
"component": "optional/evaluation/ycbv",
|
| 86 |
"bytes": 1669857280
|
| 87 |
},
|
| 88 |
-
"evaluation
|
| 89 |
-
"component": "optional/evaluation
|
| 90 |
"bytes": 23404277760,
|
| 91 |
"views": 2603,
|
| 92 |
"datasets": {
|
|
|
|
| 85 |
"component": "optional/evaluation/ycbv",
|
| 86 |
"bytes": 1669857280
|
| 87 |
},
|
| 88 |
+
"evaluation": {
|
| 89 |
+
"component": "optional/evaluation",
|
| 90 |
"bytes": 23404277760,
|
| 91 |
"views": 2603,
|
| 92 |
"datasets": {
|