Skip to content

Commit

Permalink
no land bird
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Oct 1, 2024
1 parent 166c252 commit 68bc3b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modelevaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def metadata_confusion(dir, confusion_file, after_date=None, model_metadata=None
labels = model_meta.get("labels", [])
excluded_labels = model_meta.get("excluded_labels", {})
remapped_labels = model_meta.get("remapped_labels", {})
for k, v in remapped_labels.items():
if v == "land-bird":
remapped_labels[k] = "bird"
else:
labels = [
"bird",
Expand Down

0 comments on commit 68bc3b8

Please sign in to comment.