
Load from an HDF5 file a trained deep neural network model into a
SpatialDDLS object
Source: R/utils.R
loadTrainedModelFromH5.RdLoad 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
SpatialDDLSobject withtrained.modelslot.- file.path
Valid file path where the model are stored.
- reset.slot
Deletes
trained.slotif it already exists. A newDeconvDLModelobject will be formed, but will not contain other slots (FALSEby default).