Skip to content

Fix access _output_size_init via self in FCRN.py#1

Open
l3str4nge wants to merge 1 commit intoyuhsuanyeh:masterfrom
l3str4nge:master
Open

Fix access _output_size_init via self in FCRN.py#1
l3str4nge wants to merge 1 commit intoyuhsuanyeh:masterfrom
l3str4nge:master

Conversation

@l3str4nge
Copy link
Copy Markdown

Hello

In models/FCRN.py:

class fusion_ResNet(nn.Module):
    _output_size_init = (256, 256)

    def __init__(self, bs, layers, decoder, output_size=None, in_channels=3, pretrained=True, padding='ZeroPad'):

        ...
        if output_size == None:
            output_size = _output_size_init  # undefined variable, changed to self._output_size_init

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

Successfully merging this pull request may close these issues.

1 participant