MatchingNetworks icon indicating copy to clipboard operation
MatchingNetworks copied to clipboard

Double softmax

Open bkj opened this issue 7 years ago • 0 comments

On this line you're applying a softmax to the similarities.

Then later you apply cross_entropy, which is a log softmax + NLL loss.

I think you probably want to remove the first softmax.

~ Ben

bkj avatar Nov 08 '18 14:11 bkj