Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
czaloom committed Aug 22, 2024
1 parent 6323876 commit 32a14fe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/valor_api/backend/metrics/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,6 @@ def _convert_annotations_to_common_type(
) -> enums.AnnotationType:
"""Convert all annotations to a common type."""

print("\n\n\n === CONVERSION START === \n\n\n")

if target_type is None:
# find the greatest common type
groundtruth_type = AnnotationType.RASTER
Expand Down Expand Up @@ -845,8 +843,6 @@ def _convert_annotations_to_common_type(
task_type=enums.TaskType.OBJECT_DETECTION,
)

print("\n\n\n === CONVERSION END === \n\n\n")
print(target_type)
return target_type


Expand Down Expand Up @@ -1231,8 +1227,6 @@ def _compute_detection_metrics(
.subquery()
)

print(ious)

ordered_ious = profiler(
db.query(ious).order_by(-ious.c.score, -ious.c.iou, ious.c.gt_id).all
)()
Expand Down

0 comments on commit 32a14fe

Please sign in to comment.