Progbar
Defined in tensorflow/python/keras/_impl/keras/utils/generic_utils.py.
Displays a progress bar.
target: Total number of steps expected, None if unknown.width: Progress bar width on screen.verbose: Verbosity mode, 0 (silent), 1 (verbose), 2 (semi-verbose)stateful_metrics: Iterable of string names of metrics that should not be averaged over time. Metrics in this list will be displayed as-is. All others will be averaged by the progbar before display.interval: Minimum visual progress update interval (in seconds).__init____init__(
target,
width=30,
verbose=1,
interval=0.05,
stateful_metrics=None
)
Initialize self. See help(type(self)) for accurate signature.
addadd(
n,
values=None
)
updateupdate(
current,
values=None
)
Updates the progress bar.
current: Index of current step.values: List of tuples: (name, value_for_last_step). If name is in stateful_metrics, value_for_last_step will be displayed as-is. Else, an average of the metric over time will be displayed.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/utils/Progbar