提交 7f90664e 编写于 作者: V Vishnu Banna

tiny comments

上级 0126950d
......@@ -272,7 +272,7 @@ class YoloLayer(tf.keras.Model):
@property
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
across both loss and detection generator
......
......@@ -324,4 +324,4 @@ def aggregated_comparitive_iou(boxes1, boxes2=None, iou_type=0, beta=0.6):
_, iou = compute_ciou(boxes1, boxes2, yxyx=True)
else:
iou = compute_iou(boxes1, boxes2, yxyx=True)
return iou
\ No newline at end of file
return iou
......@@ -58,4 +58,4 @@ def divide_no_nan(a, b):
Returns:
a `Tensor` representing a divided by b, with all nan values removed.
"""
return a / (b + 1e-9)
\ No newline at end of file
return a / (b + 1e-9)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册