DigitalDLSorter
Deep Neural Network model to disk as an HDF5 fileR/utils.R
saveTrainedModelAsH5.Rd
Save a trained DigitalDLSorter
Deep Neural Network model
to disk as an HDF5 file. Note that this function does not save the
DigitalDLSorterDNN
object, but the trained keras model.
This is the alternative to the saveRDS
and
preparingToSave
functions if you want to keep the state of the
optimizer.
saveTrainedModelAsH5(object, file.path, overwrite = FALSE)
DigitalDLSorter
object with
trained.model
slot.
Valid file path where to save the model to.
Overwrite file if it already exists.
No return value, saves a keras DNN trained model as HDF5 file on disk.