cosine_metric_learning icon indicating copy to clipboard operation
cosine_metric_learning copied to clipboard

Loss function always return 0

Open hxue3 opened this issue 2 years ago • 0 comments

I am running into an issue that the loss function always returns 0 while using triplet loss function.

And if I use cosine-softmax, it won't return 0 but it will give me another error LossTensor is inf or nan : Tensor had NaN values

Any idea why

hxue3 avatar Mar 07 '22 18:03 hxue3