SidecarEvaluator: Use fully qualified name in the example.

PiperOrigin-RevId: 383420584
This commit is contained in:
Rick Chao 2021-07-07 08:45:16 -07:00 committed by TensorFlower Gardener
parent 6e72b80a3f
commit a1b22d1f69
2 changed files with 1 additions and 19 deletions

18
.gitignore vendored

@ -1,18 +0,0 @@
# Python temp files
__pycache__/
*.py[cod]
*$py.class
# Vim temp files
*.swp
*.swo
# VS Code configs
.devcontainer
.vscode
# Bazel files
bazel-bin
bazel-keras
bazel-out
bazel-testlogs

@ -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