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

Regression in SDnetDecoderBlock #6

Open
glgerard opened this issue Aug 24, 2020 · 1 comment
Open

Regression in SDnetDecoderBlock #6

glgerard opened this issue Aug 24, 2020 · 1 comment

Comments

@glgerard
Copy link

In the forward method of SDnetDecoderBlock, the call to self.unpool can fail if out_block is None.
Code should be changed as such

    if out_block is not None:
        unpool = self.unpool(input, indices, out_block.shape)
        concat = torch.cat((out_block, unpool), dim=1)
    else:
        unpool = self.unpool(input, indices)
        concat = unpool
@viethoang303
Copy link

I also got this problem and I can' t run the code

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