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 "/usr/local/lib/python3.10/site-packages/bugbug/model.py", line 546, in <genexpr>
classified_num = sum(1 for v in y_pred_filter if v != "__NOT_CLASSIFIED__")
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
We are counting classified_num for the multi-label cases. The current way works for the binary-label case only.
Proposed: classified_num would be len(classified_indices) for multi-label cases.
Another bug to be looked at.
Originally posted by @jpangas in #3958 (comment)
The text was updated successfully, but these errors were encountered: