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 "~/micromamba/envs/jpt/lib/python3.10/site-packages/libauc/losses/auc.py", line 313, in forward
assert sum(pos_mask) > 0, "Input data has no positive sample! Please use 'libauc.sampler.DualSampler' for data resampling!"
RuntimeError: Boolean value of Tensor with more than one value is ambiguous
I'm trying to use this for a binary problem but have not been able to get it to work (torch 2.3).
I looked into a code but couldn't find any glaring errors as sum(Tensor) should reduce pos_mask down to a single element...
Edit: Some of my input shapes were wrong
The text was updated successfully, but these errors were encountered:
I'm trying to use this for a binary problem but have not been able to get it to work (torch 2.3).
I looked into a code but couldn't find any glaring errors as
sum(Tensor)
should reducepos_mask
down to a single element...Edit: Some of my input shapes were wrong
The text was updated successfully, but these errors were encountered: