PredictionImageGradient#
- class radionets.core.PredictionImageGradient(validation_data, model, amp_phase, arch_name)[source]#
Bases:
CallbackCallback for computing spatial gradients of model predictions.
- Parameters:
- validation_datastr or Path
Path to validation dataset.
- modelstr or Path
Path to pretrained model.
- amp_phasebool
Whether to use amplitude-phase representation.
- arch_namestr
Name of the architecture used for the model.
Methods Summary
Methods Documentation