Skip to content

Commit

Permalink
fix hungarian matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
kprokofi committed Dec 19, 2024
1 parent a409186 commit b8c912d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otx/algo/common/utils/assigners/hungarian_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def batch_preparation(
"pred_boxes": outputs["pred_boxes"][i],
"pred_masks": outputs["pred_masks"][i] if "pred_masks" in outputs else None,
"target_boxes": targets[i]["boxes"],
"target_labels": targets[i]["labels"],
"target_labels": targets[i]["labels"].long(),
"target_mask": targets[i]["masks"] if "masks" in targets[i] else None,
}
for i in range(batch_size)
Expand Down

0 comments on commit b8c912d

Please sign in to comment.