bermanmaxim / LovaszSoftmax

Code for the Lovász-Softmax loss (CVPR 2018)
http://bmax.im/LovaszSoftmax
MIT License
1.38k stars 269 forks source link

How to set classes weights? #11

Closed Bonsen closed 6 years ago

Bonsen commented 6 years ago

In Cross-entropy training, loss = L.xloss(out, labels, ignore=255)?

chenzhutian commented 5 years ago

So how to set the classes weights?

bermanmaxim commented 5 years ago

See #13