Closed mk123qwe closed 4 years ago
Sorry for replying so late. Maybe you have figured it out yourself, you can use label smooth just like you use cross-entropy-loss of pytorch, only to be sure to add the args of smooth
which controls the smooth label.
if i choose smooth label ,what loss function do i choose? in ptorch, celoss only support traget.long()