LION.evaluation.methods¶
Reconstruction methods as one call: measurements -> images.
method(x, operator) turns anything that reconstructs into a function
run(y), with run.record describing it (for test records and to know
when two evaluations ran the same method):
a
LIONmodel: run as its solvers run it (model_forward: its initial reconstruction, the operator’s default (FDK for CT) unless set, first for image-domain models, and its normalisation);a model’s file (
"model",.json,.pt): the model with its weights; if its training record names a solver with its own way of reconstructing (e.g. Noise2Inverse’s), that solver’s;a reconstructor’s file (
reconstructor.save): the reconstructor, with its model loaded from its file;a solver: its own reconstruction (
solver._forward);a reconstructor (
PnP,LearnedRegularizerReconstructor): itsreconstruct, recorded as its spec (operator, parameters) and its model;a function
f(y, operator), e.g.fdk, orfunctools.partial(tv_min, lam=...).
baseline(operator) is what methods are compared with: the operator’s
default reconstruction.
Functions
|
The classical reconstruction methods are compared with, as a function |
|
|