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

class Contextual Attention F.conv_transpose2d problem #64

Open
kangjh0226 opened this issue Mar 8, 2022 · 0 comments
Open

class Contextual Attention F.conv_transpose2d problem #64

kangjh0226 opened this issue Mar 8, 2022 · 0 comments

Comments

@kangjh0226
Copy link

Thanks for posting this code!
I'm trying to change original generative-inpainting code to pytorch too, your version help me a lot!
I have some problem on here

yi = F.conv_transpose2d(yi, wi_center, stride=self.rate, padding=1) / 4. # (B=1, C=128, H=64, W=64)

the output error is:
RuntimeError: Given transposed=1, weight of size [128, 1024, 4, 4], expected input[1, 1024, 32, 32] to have 128 channels, but got 1024 channels instead

Do you have any experience before?
Thank you!!

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