RandomNoise#
- class deepinv.transform.RandomNoise(*args, noise_type='gaussian', sigma=0.1, **kwargs)[source]#
Bases:
Transform
Random noise transform.
For now, only Gaussian noise is supported. Override this class and replace the
sigma
parameter for other noise models.This transform is reproducible: for given param dict
noise_model
, the transform is deterministic.Note the inverse transform is not well-defined for this transform.