diff --git a/code/model_Unet.py b/code/model_Unet.py index f2e2186aa3adf04fdf360f2d59bc2e5f801c1b24..c6ce9773e411a6df1cf284a8da9f19cb084cdffa 100644 --- a/code/model_Unet.py +++ b/code/model_Unet.py @@ -37,7 +37,7 @@ class TestModule(pl.LightningModule): classes=1, # classes == output channels. We use one output channel for cyto data activation="sigmoid" ) - self.loss_f = torch.nn.L1Loss() #torch.nn.L1Loss() #RMILoss(with_logits=True) #torch.nn.MSELoss() + self.loss_f = torch.nn.MSELoss() #torch.nn.L1Loss() #RMILoss(with_logits=True) #torch.nn.MSELoss() def forward(self, x): x = self.model(x)