You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this paper, the author said the loss function is perfectly crossentropy, but when I modify the MSELoss to CrossEntropy Loss. The code do not work. How to modify the code better? Thank you!
The text was updated successfully, but these errors were encountered:
use criterion_segment = torch.nn.BCEWithLogitsLoss() and take away nn.ReLU(inplace=True) in models.py at self.layer5 = nn.Sequential( nn.Conv2d(1024, 1, 1), nn.ReLU(inplace=True) )
In this paper, the author said the loss function is perfectly crossentropy, but when I modify the MSELoss to CrossEntropy Loss. The code do not work. How to modify the code better? Thank you!
The text was updated successfully, but these errors were encountered: