Commit 9358b176 authored by Vishnu Banna's avatar Vishnu Banna
Browse files

merged

parent a04d9e0e
......@@ -49,6 +49,5 @@ class InputUtilsTest(parameterized.TestCase, tf.test.TestCase):
self.assertArrayNear(ciou, expected_iou, 0.001)
self.assertArrayNear(diou, expected_iou, 0.001)
if __name__ == '__main__':
tf.test.main()
tf.test.main()
\ No newline at end of file
......@@ -3,7 +3,7 @@ import tensorflow as tf
def rm_nan_inf(x, val=0.0):
"""remove nan and infinity
"""Remove nan and infinity
Args:
x: any `Tensor` of any type.
......
......@@ -8,7 +8,7 @@ class TiledNMS():
IOU_TYPES = {'diou': 0, 'giou': 1, 'ciou': 2, 'iou': 3}
def __init__(self, iou_type='diou', beta=0.6):
'''initialization for all non max suppression operations mainly used to
'''Initialization for all non max suppression operations mainly used to
select hyperparameters for the iou type and scaling.
Args:
......
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