loadWeightsByPaths
Loads weights from hdf5 file created in Keras TensorFlow framework.
Parameters
File in hdf5 file format containing weights of Sequential model.
Fully-specified paths to kernel and bias weights of each layer.
NOTE: Kernel and bias will be initialized by default initializers if they are missed in weightPaths object.
Loads weights from hdf5 file created in Keras TensorFlow framework for pre-defined list of layers.
NOTE: Weights for another layers will not be loaded (should be initialized manually).
Parameters
File in hdf5 file format containing weights of Sequential model.
List of layers to load weights. Weights for other layers will be initialized by initializer later.
Template path to kernel weights of the specific layer.
Template path to bias weights of the specific layer.