We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
In the paper, the final loss is obtained by adding constrained loss to cross entropy:
But in model.py, it seems that only the constrained loss is used:
model.py
If I understand the paper correctly, should loss = const_loss be changed to loss += const_loss?
loss = const_loss
loss += const_loss