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

rectangular data #9

Open
tpresser570 opened this issue Nov 15, 2023 · 0 comments
Open

rectangular data #9

tpresser570 opened this issue Nov 15, 2023 · 0 comments

Comments

@tpresser570
Copy link

tpresser570 commented Nov 15, 2023

Hi there thanks for providing your repo!
I have been trying to adapt the Ncsnv2 model to work with rectangular data, say 5x1024 instead of normal images. I have found that the only noncompatible section is the ConvMeanPool layer uses the summation:

output = sum([output[:, :, ::2, ::2], output[:, :, 1::2, ::2],
                      output[:, :, ::2, 1::2], output[:, :, 1::2, 1::2]]) / 4.

Which is the only section that requires square data with 2 even dimensions. Are there any recommendations for some way around this?

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