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
Thanks, I know exactly what the problem is too.
Pytorch nn.CrossEntropyLoss() requires input dimension is (N,C,H,W), target dimension is (N,H,W).
So the mask must be pre-processed as a single channel.
I learned this from the following blog, hope it can give you some help. https://blog.csdn.net/Fcc_bd_stars/article/details/105158215
Hi,
I have a problem with this place, can you help me?
The text was updated successfully, but these errors were encountered: