Skip to content

Commit

Permalink
prop
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Oct 5, 2024
1 parent e9b427d commit 44bf0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/count_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@

prop = round(correct_labels / labels * 100, 2)
print(correct_labels, labels, prop)
if prop < prop_thresh:
if prop < float(prop_thresh):
print("predicted class is less than threshold")
sys.exit(-1)

0 comments on commit 44bf0cb

Please sign in to comment.