JiehongLin / SAM-6D

[CVPR2024] Code for "SAM-6D: Segment Anything Model Meets Zero-Shot 6D Object Pose Estimation".
366 stars 30 forks source link

Fix row_idx bug in data_utils.py #47

Closed Jianqiuer closed 1 month ago

Jianqiuer commented 7 months ago

The row_idx should be divided by width, not height. The scale factors for mapping back to the resized image should be switched. Since the height and the width are the same in the cropped image and the resized image, this error has no negative impact on running in the current version.