SidecarEvaluator: Use fully qualified name in the example.
PiperOrigin-RevId: 383420584
This commit is contained in:
parent
6e72b80a3f
commit
a1b22d1f69
18
.gitignore
vendored
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
|
||||
|
Loading…
Reference in New Issue
Block a user