Skip to content

Evaluation metric #187

Description

@fushh

Thank you for the excellent work!

I noticed that the evaluation metric implemented in other_metric.py does not account for object categories.
See the relevant code here:

# Flatten all boxes for matching
all_gt_boxes = []
all_pred_boxes = []
for category in gt_boxes_dict:
all_gt_boxes.extend(gt_boxes_dict[category])
# Filter out None values from predictions
pred_boxes_for_category = pred_boxes_dict.get(category, [])
valid_pred_boxes = [
box for box in pred_boxes_for_category if box is not None and box != "None"
]
all_pred_boxes.extend(valid_pred_boxes)

While this design is appropriate for single-class detection or grounding tasks (e.g., Dense200, HumanRef, RefCOCOg val/test), it may not be suitable for multi-class detection scenarios such as VisDrone, where classification accuracy is also important.

Am I missing something, or is this intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions