loadTrainedModelFromH5: Load from an HDF5 file a trained Deep Neural Network model...

View source: R/utils.R

loadTrainedModelFromH5R Documentation

Load from an HDF5 file a trained Deep Neural Network model into a DigitalDLSorter object

Description

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).

Usage

loadTrainedModelFromH5(object, file.path, reset.slot = FALSE)

Arguments

object

DigitalDLSorter object with trained.model slot.

file.path

Valid file path where the model are stored.

reset.slot

Deletes trained.slot if it already exists. A new DigitalDLSorterDNN object will be formed, but will not contain other slots (FALSE by default).

Value

DigitalDLSorter object with trained.model slot with the new keras DNN model incorporated.

See Also

trainDigitalDLSorterModel deconvDigitalDLSorterObj saveTrainedModelAsH5


digitalDLSorteR documentation built on Oct. 5, 2022, 9:05 a.m.