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

Have you ever tried to generate rectangular images? #6

Open
pupuchuan opened this issue May 11, 2022 · 1 comment
Open

Have you ever tried to generate rectangular images? #6

pupuchuan opened this issue May 11, 2022 · 1 comment

Comments

@pupuchuan
Copy link

The resolution of my dataset images is 256×512, and I want the initial feature map F0 to have size 2×4×512. I tried to changed the p size into 8×512 while keeping the size of z at 16×512. However the attention module does not seem to train properly in this case. So, do I have to compress the dimensions of z to be the same as p since I don't want to change the resolution of the input image? Or is there any solution for this problem?

Thank you!

@BillyXYB
Copy link
Owner

Thank you for your question
We have not tried to generate rectangular images.
The dimension of Z and P should be identical for Attention. Maybe you could also have an initial P(16512) for interaction, and transform it into F0(8512).

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