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
0126950d
Commit
0126950d
authored
Sep 11, 2021
by
Vishnu Banna
Browse files
docstring update
parent
0d3ec509
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/vision/beta/projects/yolo/losses/yolo_loss.py
official/vision/beta/projects/yolo/losses/yolo_loss.py
+2
-2
No files found.
official/vision/beta/projects/yolo/losses/yolo_loss.py
View file @
0126950d
...
...
@@ -207,7 +207,7 @@ class YoloLossBase(object, metaclass=abc.ABCMeta):
@
abc
.
abstractmethod
def
_build_per_path_attributes
(
self
):
"""Additional initialization required for each YOLO loss version"""
"""Additional initialization required for each YOLO loss version
.
"""
...
@
abc
.
abstractmethod
...
...
@@ -401,7 +401,7 @@ class DarknetLoss(YoloLossBase):
ind_mask
,
grid_mask
)
def
cross_replica_aggregation
(
self
,
loss
,
num_replicas_in_sync
):
"""
t
his method is not specific to each loss path, but each loss type"""
"""
T
his method is not specific to each loss path, but each loss type
.
"""
return
loss
/
num_replicas_in_sync
...
...
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