Skip to content

Commit

Permalink
Update anchor_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxue0827 authored Jan 8, 2020
1 parent d145d68 commit 3d79479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/box_utils/anchor_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand Down

0 comments on commit 3d79479

Please sign in to comment.