DigitalDLSorter
objectR/utils.R
loadTrainedModelFromH5.Rd
Load from an HDF5 file a trained Deep Neural Network model into a
DigitalDLSorter
object. Note that HDF5 file must be a
valid trained model (keras object).
loadTrainedModelFromH5(object, file.path, reset.slot = FALSE)
DigitalDLSorter
object with
trained.model
slot.
Valid file path where the model are stored.
Deletes trained.slot
if it already exists. A new
DigitalDLSorterDNN
object will be formed, but will not
contain other slots (FALSE
by default).
DigitalDLSorter
object with trained.model
slot with the new keras DNN model incorporated.