Skip to content

Regression in SDnetDecoderBlock #6

@glgerard

Description

@glgerard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions