Closed valencebond closed 4 years ago
I don't know that our paper have said "cross entropy loss is negative and Ldiv is positive". I hope you can check what is KL loss and what is cross-entropy loss carefully, especially the existence of minus symbol.
thanks for your code and paper, the proposed new problem is interesting. However, there are some inconsistencies between code and paper.
according to the paper, the total loss consists of three parts, a entropy loss Lent, a diversity loss Ldiv and a minus cross entropy loss. In the code, classifier_loss corresponds to minus cross entropy loss, entropy_loss corresponds to Lent, gentropy_loss corresponds to Ldiv
As paper said, cross entropy loss is negative and Ldiv is positive, but cross entropy loss is positive and Ldiv is negative in code.
please correct me if there is something wrong.