Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

update dependencies to newer versions for sprawl compatibility #146

Merged
merged 5 commits into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datasetinsights/evaluation_metrics/average_precision_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class MeanAveragePrecisionAverageOverIOU(EvaluationMetric):
TYPE = "scalar"

IOU_THRESHOULDS = np.linspace(
0.5, 0.95, np.round((0.95 - 0.5) / 0.05) + 1, endpoint=True
0.5, 0.95, int(np.round((0.95 - 0.5) / 0.05)) + 1, endpoint=True
)

def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion datasetinsights/evaluation_metrics/average_recall_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class MeanAverageRecallAverageOverIOU(EvaluationMetric):
TYPE = "scalar"

IOU_THRESHOULDS = np.linspace(
0.5, 0.95, np.round((0.95 - 0.5) / 0.05) + 1, endpoint=True
0.5, 0.95, int(np.round((0.95 - 0.5) / 0.05)) + 1, endpoint=True
adason marked this conversation as resolved.
Show resolved Hide resolved
)

def __init__(self):
Expand Down
Loading