lofrienger / S2ME

S2ME: Spatial-Spectral Mutual Teaching and Ensemble Learning for Scribble-supervised Polyp Segmentation (MICCAI 2023)
15 stars 1 forks source link

Hello, may I ask what does the last / \ of this line in the losses.py mean? #4

Closed yike5022 closed 8 months ago

yike5022 commented 8 months ago

y1 = -1torch.sum(ptorch.log(p+1e-6), dim=1) / \ torch.tensor(np.log(C)).cuda()