View source on GitHub |
Callback that streams epoch results to a CSV file.
Inherits From: Callback
tf.keras.callbacks.CSVLogger(
filename, separator=',', append=False
)
Supports all values that can be represented as a string,
including 1D iterables such as np.ndarray
.
Example:
csv_logger = CSVLogger('training.log')
model.fit(X_train, Y_train, callbacks=[csv_logger])
Methods
set_model
set_model(
model
)
set_params
set_params(
params
)