GraphTrainableModel
GraphTrainableModel model groups a linear stack of layers into a graph-based TensorFlow Model. Also, it provides training and inference features on this model.
Constructors
Creates a GraphTrainableModel model via sequence of layers.
Functions
Configures the model for training.
Returns the metrics and loss values for the model in test (evaluation) mode.
Trains the model for a fixed number of epochs (iterations over a dataset).
Trains the model for a fixed number of epochs (iterations over a dataset).
Trains the model for a fixed number of epochs (iterations on a dataset).
Forms the graph description in string format.
Loads variable data from .txt files.
Generates output prediction for the input sample.
Predicts labels for all observation in dataset.
Generates output prediction for the input sample using output of the predictionTensorName tensor.
Predicts and returns not only prediction but list of activations values from intermediate model layers (for visualisation or debugging purposes).
Predicts vector of probabilities instead of specific class in predict method.
Generates output predictions for the input samples. Each prediction is a vector of probabilities instead of specific class in predict method.
Generates output predictions for the input samples. Each prediction is a vector of probabilities instead of specific class in predict method.
Saves the model as graph and weights.
Returns model summary.
Properties
Inheritors
Extensions
Freezes weights in all layers in this model, so they won't be changed during training.
Loads weights from hdf5 file created in Keras TensorFlow framework.
Loads weights from hdf5 file created in Keras TensorFlow framework for pre-defined list of layers.
Loads weights from hdf5 file created in Keras TensorFlow framework.
Loads weights from hdf5 file created in Keras TensorFlow framework for pre-defined list of layers.
Loads weights from hdf5 file created in Keras TensorFlow framework.
Loads weights from hdf5 file created in Keras TensorFlow framework for pre-defined list of layers.
Loads weights from hdf5 file created in Keras TensorFlow framework for non-trainable (or frozen) layers only.
Loads weights from hdf5 file created in Keras TensorFlow framework for non-trainable (or frozen) layers only.
Saves model description as json configuration file fully compatible with the Keras TensorFlow framework.