Skip to content

Commit

Permalink
add none and unid
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Oct 1, 2024
1 parent 2d1eb3f commit 70a4ff8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modelevaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ def metadata_confusion(dir, confusion_file, after_date=None, model_metadata=None
for k, v in remapped_labels.items():
if v == "land-bird":
remapped_labels[k] = "bird"
if "None" not in labels:
labels.append("None")
if "unidentified" not in labels:
labels.append("unidentified")
else:
labels = [
"bird",
Expand Down

0 comments on commit 70a4ff8

Please sign in to comment.