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

Model training using different image size #9

Open
kulkarnikeerti opened this issue Aug 8, 2022 · 0 comments
Open

Model training using different image size #9

kulkarnikeerti opened this issue Aug 8, 2022 · 0 comments

Comments

@kulkarnikeerti
Copy link

Hi,
I know that this repo works with a squared image. But, I am trying to incorporate a rectangle image of size (720,1440).
However, I end up with an error in the below line as it is not able to match the expected size.

x = x.view(B, C, int(H / hs), hs, int(W / ws), ws).transpose(3, 4).contiguous()

could you please tell me, how did you come up with these params? If I have to use a rectangle image what should be changed and on what basis?
Thanks in advance

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

1 participant