public KerasModelBuilder weightsHdf5Filename ( String weightsHdf5Filename ) throws IOException { checkForExistence ( weightsHdf5Filename ) ; this . weightsArchive = new Hdf5Archive ( weightsHdf5Filename ) ; this . weightsRoot = config . getTrainingWeightsRoot ( ) ; return this ; }
Set weights of the model by providing the file name of the corresponding weights HDF5 file . The root of the HDF5 group containing weights will be read and set from the configuration of this model builder instance .