Skip to content

Commit

Permalink
remove warning (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkafteNicki authored Oct 22, 2021
1 parent ff84cc9 commit 40007e9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def _precision_recall_curve_update(

if len(preds.shape) == len(target.shape):
if pos_label is None:
rank_zero_warn("`pos_label` automatically set 1.")
pos_label = 1
if num_classes is not None and num_classes != 1:
# multilabel problem
Expand Down

0 comments on commit 40007e9

Please sign in to comment.