Use Cases#
The benchmark provides datasets for several imaging modalities and controlled workloads. Each page describes the source data, forward model, BenchOpt installation and preparation steps, and parameters available in experiment YAML.
Recover a high-resolution color image from multiple blurred, downsampled, and noisy observations.
Reconstruct 2D slices or 3D volumes from ASTRA-backed parallel-beam and cone-beam projections.
Recover a sky image from sparse Fourier measurements simulated for a configurable telescope observation.
Generate scalable 2D and 3D signals for controlled super-resolution and denoising workloads.
Installing and Preparing Data#
Installation and preparation are separate operations:
benchopt installinstalls requirements declared by the selected benchmark components. A dataset may also provide a custom installer, as radio interferometry does for its simulation container.benchopt preparecalls the selected dataset’sprepare()method. This is where reusable input files or simulations are downloaded and cached. It does not construct the tensors and operators for every benchmark run; that happens when BenchOpt loads the dataset.
Both commands can select one dataset directly or use an experiment configuration:
benchopt install benchmark_inference/. -d tomography_3d
benchopt prepare benchmark_inference/. -d tomography_3d
benchopt install benchmark_inference/. \
--config benchmark_inference/configs/examples/tomography_3d.yml
benchopt prepare benchmark_inference/. \
--config benchmark_inference/configs/examples/tomography_3d.yml
Preparation is cached by BenchOpt. Use benchopt prepare --force when a cached
preparation must be repeated.
Caching Denoiser Weights#
Pretrained denoiser weights belong to the solver rather than the dataset, so
benchopt prepare does not fetch them. A solver that uses one, such as PnP
with DRUNet, downloads it on first use, which blocks on a compute node without
internet access. Cache the weights from a login node instead:
toolsbench prepareweights # every architecture with weights
toolsbench prepareweights drunet # only the ones named
toolsbench prepareweights scunet restormer # any deepinv.models denoiser
Names resolve against the DENOISERS registry in toolsbench.utils first,
then against deepinv.models. Architectures without pretrained weights are
skipped with a message; only registered ones can be built in 3D.