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
Hello, Thank you for sharing your great work!
I noticed that on line 36 of the losses.py file, coefficients = torch.reciprocal(class_occurence) * torch.numel(label) / (num_of_classes * label.shape[1])
it seems that label.shape[1] should be modified to label.shape[0] here so that the solution is in line with the equation in the paper (HxW), not sure if I understand it correctly? Or is there some detail I'm not noticing?
Thanks.
The text was updated successfully, but these errors were encountered:
Hello, Thank you for sharing your great work!
I noticed that on line 36 of the
losses.py
file,coefficients = torch.reciprocal(class_occurence) * torch.numel(label) / (num_of_classes * label.shape[1])
it seems that
label.shape[1]
should be modified tolabel.shape[0]
here so that the solution is in line with the equation in the paper (HxW), not sure if I understand it correctly? Or is there some detail I'm not noticing?Thanks.
The text was updated successfully, but these errors were encountered: