|  View source on GitHub | 
Deprecated. Please use tf.keras.utils.SidecarEvaluator instead.
Inherits From: SidecarEvaluator
tf.keras.experimental.SidecarEvaluator(
    *args, **kwargs
)
| Args | |
|---|---|
| model | Model to use for evaluation. The model object used here should
be a tf.keras.Model, and should be the same as the one that is
used in training, wheretf.keras.Models are checkpointed. The
model should have one or more metrics compiled before usingSidecarEvaluator. | 
| data | The input data for evaluation. SidecarEvaluatorsupports all
data types that Kerasmodel.evaluatesupports as the input datax, such as atf.data.Dataset. | 
| checkpoint_dir | Directory where checkpoint files are saved. | 
| steps | Number of steps to perform evaluation for, when evaluating a
single checkpoint file. If None, evaluation continues until the
dataset is exhausted. For repeated evaluation dataset, user must
specifystepsto avoid infinite evaluation loop. | 
| max_evaluations | Maximum number of the checkpoint file to be
evaluated, for SidecarEvaluatorto know when to stop. The
evaluator will stop after it evaluates a checkpoint filepath ending
with 'tf.train.CheckpointManager.savefor saving checkpoints, the kth
saved checkpoint has the filepath suffix 'None,SidecarEvaluatorwill evaluate indefinitely, and the user must
terminate evaluator program themselves. | 
| callbacks | List of keras.callbacks.Callbackinstances to apply
during evaluation. See
callbacks. | 
Methods
start
start()
Starts the evaluation loop.