wasidennis / AdaptSegNet

Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
850 stars 203 forks source link

Early return issue in model/deeplab*.py #84

Closed jungwon-choi closed 4 years ago

jungwon-choi commented 4 years ago

In the Classifier_Module class, the position of return of forward function is something strange. Is it intended or just the wrong tab?

  def forward(self, x):
        out = self.conv2d_list[0](x)
        for i in range(len(self.conv2d_list) - 1):
            out += self.conv2d_list[i + 1](x)
            return out
wasidennis commented 4 years ago

Please check this issue.