"git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "86da10e9d9433f04307e8d209b7be550037cd76c"
Commit 7f90664e authored by Vishnu Banna's avatar Vishnu Banna
Browse files

tiny comments

parent 0126950d
...@@ -272,7 +272,7 @@ class YoloLayer(tf.keras.Model): ...@@ -272,7 +272,7 @@ class YoloLayer(tf.keras.Model):
@property @property
def losses(self): def losses(self):
""" Generates a dictionary of losses to apply to each path """Generates a dictionary of losses to apply to each path
Done in the detection generator because all parameters are the same Done in the detection generator because all parameters are the same
across both loss and detection generator across both loss and detection generator
......
...@@ -324,4 +324,4 @@ def aggregated_comparitive_iou(boxes1, boxes2=None, iou_type=0, beta=0.6): ...@@ -324,4 +324,4 @@ def aggregated_comparitive_iou(boxes1, boxes2=None, iou_type=0, beta=0.6):
_, iou = compute_ciou(boxes1, boxes2, yxyx=True) _, iou = compute_ciou(boxes1, boxes2, yxyx=True)
else: else:
iou = compute_iou(boxes1, boxes2, yxyx=True) iou = compute_iou(boxes1, boxes2, yxyx=True)
return iou return iou
\ No newline at end of file
...@@ -58,4 +58,4 @@ def divide_no_nan(a, b): ...@@ -58,4 +58,4 @@ def divide_no_nan(a, b):
Returns: Returns:
a `Tensor` representing a divided by b, with all nan values removed. a `Tensor` representing a divided by b, with all nan values removed.
""" """
return a / (b + 1e-9) return a / (b + 1e-9)
\ No newline at end of file
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