Commit 5e85759a authored by vishnubanna's avatar vishnubanna
Browse files

tfds csp

parent 0eebd4ba
......@@ -83,7 +83,7 @@ class ImageClassificationTask(image_classification.ImageClassificationTask):
model_outputs=outputs, labels=labels, aux_losses=model.losses)
# Scales loss as the default gradients allreduce performs sum inside the
# optimizer.
tf.print(loss)
tf.print("training loss: ", loss, end="\r")
scaled_loss = loss / num_replicas
# For mixed_precision policy, when LossScaleOptimizer is used, loss is
......
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