Load from an HDF5 file a trained deep neural network model into a
SpatialDDLS
object
Source: R/utils.R
loadTrainedModelFromH5.Rd
Load from an HDF5 file a trained deep neural network model into a
SpatialDDLS
object. Note that HDF5 file must be a valid
trained model (keras object).
Arguments
- object
SpatialDDLS
object withtrained.model
slot.- file.path
Valid file path where the model are stored.
- reset.slot
Deletes
trained.slot
if it already exists. A newDeconvDLModel
object will be formed, but will not contain other slots (FALSE
by default).