Skip to content

Commit

Permalink
SidecarEvaluator: Use fully qualified name in the example.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 383420584
  • Loading branch information
rchao authored and tensorflower-gardener committed Jul 7, 2021
1 parent 6e72b80 commit a1b22d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions .gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion keras/distribute/sidecar_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SidecarEvaluator(object):
name="eval_metrics"))
data = tf.data.Dataset.from_tensor_slices(...)
SidecarEvaluator(
tf.keras.experimental.SidecarEvaluator(
model=model,
data=data,
checkpoint_dir='/tmp/checkpoint_dir', # dir for training-saved checkpoint
Expand Down

0 comments on commit a1b22d1

Please sign in to comment.