Pytroch categorical cross entropy with class weights not working as expected

前端 未结 0 1781
悲&欢浪女
悲&欢浪女 2021-02-05 17:27

My understanding of class weights in categorical cross entropy is captured by the following expression

where the sum if over samples.

Assuming

相关标签:
回答
  • 消灭零回复
提交回复
热议问题