Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H*W or W*H? #53

Closed
caiyongqi opened this issue Mar 20, 2022 · 2 comments
Closed

H*W or W*H? #53

caiyongqi opened this issue Mar 20, 2022 · 2 comments

Comments

@caiyongqi
Copy link

Hi. src_grid = src_grid.view(B, D, W_pad, H_pad, 2) in function homo_warp. The shape of src_grid seems to be (B, DHW, 2), so is there something wrong with the above code?

@apchenstu
Copy link
Owner

Thanks! That's right it should be src_grid = src_grid.view(B, D, H_pad, W_pad, 2), but looks like this bug would not affect the final results since the following code reshape the src_grid to (B, D, W_pad * H_pad, 2) which is orderless.

@caiyongqi
Copy link
Author

Yes, you are right. Thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants