"zan's_copy_of_basic_classification.ipynb" did not exist on "f0d61de8a0e0c86ec407e8da1d3d4f1cd5916c10"
Commit 8948ba3f authored by Kaushik Shivakumar's avatar Kaushik Shivakumar
Browse files

fix file

parent a6797285
......@@ -341,7 +341,7 @@ def load_fine_tune_checkpoint(
features, labels = iter(input_dataset).next()
#@tf.function
@tf.function
def _dummy_computation_fn(features, labels):
model._is_training = False # pylint: disable=protected-access
tf.keras.backend.set_learning_phase(False)
......@@ -716,7 +716,7 @@ def eager_eval_loop(
evaluators = None
loss_metrics = {}
#@tf.function
@tf.function
def compute_eval_dict(features, labels):
"""Compute the evaluation result on an image."""
# For evaling on train data, it is necessary to check whether groundtruth
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment