Open Yanfeng-Zhou opened 2 years ago
In your code ConResNet/utils/loss.py
class BCELossBoud(nn.Module): ... def forward(self, predict, target): predict = torch.softmax(predict, 1)
in forward section, I think we should add predict = torch.softmax(predict, 1)
In your code ConResNet/utils/loss.py
in forward section, I think we should add predict = torch.softmax(predict, 1)