From 3d79479a3842bfd19d8ab40a38d93c895c55a8ed Mon Sep 17 00:00:00 2001 From: yangxue Date: Wed, 8 Jan 2020 12:47:17 +0800 Subject: [PATCH] Update anchor_utils.py --- libs/box_utils/anchor_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__':