ent = ent / 2.9444
Closed this issue · 1 comments
Nadavc220 commented
Hi,
in the training phase, when calculating the loss_ent variable in line 173 there is a line as follows:
ent = ent / 2.9444 # chanage when classes is not 19
what does the number 2.9444 represent and how should we change it if we use a different number of classes than 19?
I did not find any reference to this in the paper.
Thanks.
Nadavc220 commented
Sorry, I see now that this questions was already asked.
The answer is ln(num_classes)