VertaCallback

class verta.integrations.keras.VertaCallback(*args: Any, **kwargs: Any)

Keras callback that automates logging to Verta during model training.

This callback logs details about the network topology, training hyperparameters, and loss and accuracy during fitting.

See our GitHub repository for an example of this intergation in action.

New in version 0.13.20.

Parameters:

run (ExperimentRun) – Experiment Run tracking this model.

Examples

from verta.integrations.keras import VertaCallback
run = client.set_experiment_run()
model.fit(
    X_train, y_train,
    callbacks=[VertaCallback(run)],
)