You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/content/drive/My Drive/MADDoG/models/loss.py", line 75, in hard_example_mining
dist_mat[is_neg].contiguous().view(N, -1), 1, keepdim=True)
RuntimeError: cannot perform reduction function min on tensor with no elements because the operation does not have an identity
This only works when I have a batchsize of 10, but less than that this error appears.
The text was updated successfully, but these errors were encountered:
File "/content/drive/My Drive/MADDoG/models/loss.py", line 75, in hard_example_mining
dist_mat[is_neg].contiguous().view(N, -1), 1, keepdim=True)
RuntimeError: cannot perform reduction function min on tensor with no elements because the operation does not have an identity
This only works when I have a batchsize of 10, but less than that this error appears.
The text was updated successfully, but these errors were encountered: