ProgbarLogger

[source]

ProgbarLogger class

tf_keras.callbacks.ProgbarLogger(count_mode: str = "samples", stateful_metrics=None)

Callback that prints metrics to stdout.

Arguments

  • count_mode: One of "steps" or "samples". Whether the progress bar should count samples seen or steps (batches) seen.
  • stateful_metrics: Iterable of string names of metrics that should not be averaged over an epoch. Metrics in this list will be logged as-is. All others will be averaged over time (e.g. loss, etc). If not provided, defaults to the Model's metrics.

Raises

  • ValueError: In case of invalid count_mode.