LostTech.TensorFlow : API Documentation

Type ModelCheckpoint

Namespace tensorflow.keras.callbacks

Parent Callback

Interfaces IModelCheckpoint

Save the model after every epoch.

`filepath` can contain named formatting options, which will be filled the value of `epoch` and keys in `logs` (passed in `on_epoch_end`).

For example: if `filepath` is `weights.{epoch:02d}-{val_loss:.2f}.hdf5`, then the model checkpoints will be saved with the epoch number and the validation loss in the filename.

Methods

Properties

Public static methods

ModelCheckpoint NewDyn(object filepath, ImplicitContainer<T> monitor, ImplicitContainer<T> verbose, ImplicitContainer<T> save_best_only, ImplicitContainer<T> save_weights_only, ImplicitContainer<T> mode, ImplicitContainer<T> save_freq, IDictionary<string, object> kwargs)

Initialize self. See help(type(self)) for accurate signature.

Public properties

object best get; set;

int epochs_since_last_save get; set;

string filepath get; set;

object load_weights_on_restart get; set;

object model get; set;

string monitor get; set;

object monitor_op get; set;

object params get; set;

object period get; set;

object PythonObject get;

bool save_best_only get; set;

object save_freq get; set;

bool save_weights_only get; set;

object validation_data get; set;

int verbose get; set;