Closed melights closed 2 years ago
Hey Brady, thanks for the great work and the open-sourced code!
I found the calculation of rescaled intrinsics is a bit wired here:
https://github.com/bradyz/cross_view_transformers/blob/8d1d688711c3d7a85004f86da3f0874c38619489/cross_view_transformer/data/transforms.py#L135
Shouldn't the scaling factor be w_resize and h_resize instead of w and h?
w_resize
h_resize
w
h
Nice catch! I don't know how long this bug was in here but I'll patch this in this week along with some of the other issues. Thanks for your careful eye
Hey Brady, thanks for the great work and the open-sourced code!
I found the calculation of rescaled intrinsics is a bit wired here:
https://github.com/bradyz/cross_view_transformers/blob/8d1d688711c3d7a85004f86da3f0874c38619489/cross_view_transformer/data/transforms.py#L135
Shouldn't the scaling factor be
w_resize
andh_resize
instead ofw
andh
?