Benchmarks#

This section provides benchmark results for various datasets and physics models.

Note

Benchmarks are defined in the deepinv/benchmarks repository. To contribute a new benchmark or add your solver to an existing benchmark, please refer to this repository.

List of benchmarks#

Testing your method on benchmarks#

To evaluate your own reconstruction methods on these benchmarks, install deepinv_bench:

pip install git+https://github.com/deepinv/benchmarks.git#egg=deepinv_bench

If you have already installed benchmarks, you can update it with:

pip install --upgrade --force-reinstall --no-deps git+https://github.com/deepinv/benchmarks.git#egg=deepinv_bench

and then run on python:

from deepinv_bench import run_benchmark
import deepinv as dinv
my_solver = ... # replace with your reconstruction method
results = run_benchmark(my_solver, "benchmark_name")

where benchmark_name is the name of the benchmark and my_solver is your reconstruction method which receives (y, physics, **kwargs) where

and outputs a torch.Tensor containing the reconstructed image.