Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
31c3ab9e
Commit
31c3ab9e
authored
Nov 07, 2020
by
vishnubanna
Browse files
pr comment to explain decoder
parent
4af9988d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
official/vision/beta/projects/yolo/tasks/image_classification.py
...l/vision/beta/projects/yolo/tasks/image_classification.py
+0
-1
No files found.
official/vision/beta/projects/yolo/tasks/image_classification.py
View file @
31c3ab9e
...
@@ -83,7 +83,6 @@ class ImageClassificationTask(image_classification.ImageClassificationTask):
...
@@ -83,7 +83,6 @@ class ImageClassificationTask(image_classification.ImageClassificationTask):
model_outputs
=
outputs
,
labels
=
labels
,
aux_losses
=
model
.
losses
)
model_outputs
=
outputs
,
labels
=
labels
,
aux_losses
=
model
.
losses
)
# Scales loss as the default gradients allreduce performs sum inside the
# Scales loss as the default gradients allreduce performs sum inside the
# optimizer.
# optimizer.
# tf.print("training loss: ", loss, end="\r")
scaled_loss
=
loss
/
num_replicas
scaled_loss
=
loss
/
num_replicas
# For mixed_precision policy, when LossScaleOptimizer is used, loss is
# For mixed_precision policy, when LossScaleOptimizer is used, loss is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment