diff --git a/libs/box_utils/anchor_utils.py b/libs/box_utils/anchor_utils.py index 2de4abf..501a3aa 100644 --- a/libs/box_utils/anchor_utils.py +++ b/libs/box_utils/anchor_utils.py @@ -70,7 +70,7 @@ def enum_ratios(anchors, anchor_ratios): ws = tf.reshape(ws / sqrt_ratios[:, tf.newaxis], [-1, 1]) hs = tf.reshape(hs * sqrt_ratios[:, tf.newaxis], [-1, 1]) - return hs, ws + return ws, hs if __name__ == '__main__':