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

upblock #69

Closed
lsabrinax opened this issue Nov 15, 2019 · 1 comment
Closed

upblock #69

lsabrinax opened this issue Nov 15, 2019 · 1 comment

Comments

@lsabrinax
Copy link

def upBlock(in_planes, out_planes):
    block = nn.Sequential(
        nn.Upsample(scale_factor=2, mode='nearest'),
        conv3x3(in_planes, out_planes * 2),
        nn.BatchNorm2d(out_planes * 2),
        GLU())
    return block

i think the out_planes shouldn't times 2, and then the channel can decrease step by step ,because the argument feed into the function in_planes have been two times than out_planes

@lsabrinax
Copy link
Author

this is my fault. the code has no problem. I have got it

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