tqdm.keras#
TqdmCallback Objects#
class TqdmCallback(keras.callbacks.Callback)
Keras callback for epoch and batch progress.
__init__#
def __init__(epochs=None,
data_size=None,
batch_size=None,
verbose=1,
tqdm_class=tqdm_auto,
**tqdm_kwargs)
Parameters
- epochs: int, optional
- data_size: int, optional
Number of training pairs. - batch_size: int, optional
Number of training pairs per batch. - verbose: int
0: epoch, 1: batch (transient), 2: batch. [default: 1]. Will be set to0
unless bothdata_size
andbatch_size
are given. - tqdm_class: optional
tqdm
class to use for bars [default:tqdm.auto.tqdm
]. - tqdm_kwargs: optional
Any other arguments used for all bars.
display#
def display()
Displays in the current cell in Notebooks.