bundle.recon3d.datasets¶
Dataset management for the Recon3D pipeline.
Handles downloading, extracting, and locating benchmark datasets used for testing and evaluation. Datasets are stored in a shared data root accessible to all recon3d pods.
Attributes¶
Classes¶
Known benchmark datasets. |
|
Metadata about a fetched dataset. |
Functions¶
|
Download and extract a dataset if not already present. |
|
Find the images directory for a scene within an extracted dataset. |
Module Contents¶
- bundle.recon3d.datasets.log¶
- bundle.recon3d.datasets.DEFAULT_DATA_ROOT¶
- class bundle.recon3d.datasets.DatasetInfo(/, **data: Any)[source]¶
Bases:
bundle.core.data.DataMetadata about a fetched dataset.
- root: pathlib.Path¶
- async bundle.recon3d.datasets.fetch(dataset_id: DatasetId, data_root: pathlib.Path = DEFAULT_DATA_ROOT) DatasetInfo[source]¶
Download and extract a dataset if not already present.
- Parameters:
dataset_id – Which dataset to fetch.
data_root – Root directory for all datasets.
- Returns:
DatasetInfo with the extracted root and available scenes.
- bundle.recon3d.datasets.locate_scene(dataset_root: pathlib.Path, scene: str) pathlib.Path[source]¶
Find the images directory for a scene within an extracted dataset.
Prefers lower resolution variants to keep tests fast: images_4 > images_2 > images (following the ppisp convention).
- Parameters:
dataset_root – Root of the extracted dataset (e.g. /workspace/data/360_v2).
scene – Scene name (e.g. “bicycle”).
- Returns:
Path to the images directory.