F.binary_cross_entropy(preds, target) # Crashes as preds is not between 0 and 1.

not the same crash: BCECriterion.c:62 (in my case it was BCECriterion.cu:42)
but both of them reveal the wrong input.
thank you!