You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π [Fix] image size order inconsistencies (#118)
* π [Fix] image size order inconsistencies
Fixes the expected order of image_size to be [width, height] in bounding_box_utils.py/generate_anchors function as in the rest of the repository.
Additionally fixes the same issue in the create_auto_anchor functions of the Vec2Box and Anc2Box classes, where the order does not matter, but for the sake of consistency.
* π [Fix] incorrect image_size order in ValidateModel
Fixes an additional image_size order related bug in ValidateModel, in which the PostProcessor received the image_size in [height, width] instead of [width, height] order.
* π [Fix] a variable spelling mistake
Fixes a bug in Anc2Box, where its update function was updating "self.anchor_grid" instead of "self.anchor_grids" as initialized in the __init__() function.
* π [Fix] test_anc2box_autoanchor
The asserted Tensor shapes were wrong.
The number of anchors should be half in each row as in the columns for the updated resolution of (320, 640) [width, height].
0 commit comments