Is there a way to use one hot encoded targets in Pytorch for Mixup/Cutmix?

后端 未结 0 1559
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 10:59

So as far I as know regularization techniques like mixup and cutmix need one hot encoded targets, Pytorch loss functions seem to accept the labels directly, so I wrote a quick c

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