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

Commit 022fd4c

Browse files
authored
Merge pull request #146 from Unity-Technologies/0.2.x-dependency-update
update dependencies to newer versions for sprawl compatibility
2 parents d1e09d2 + 2bd1fe4 commit 022fd4c

File tree

4 files changed

+1202
-962
lines changed

4 files changed

+1202
-962
lines changed

datasetinsights/evaluation_metrics/average_precision_2d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class MeanAveragePrecisionAverageOverIOU(EvaluationMetric):
269269
TYPE = "scalar"
270270

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

275275
def __init__(self):

datasetinsights/evaluation_metrics/average_recall_2d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class MeanAverageRecallAverageOverIOU(EvaluationMetric):
111111
TYPE = "scalar"
112112

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

117117
def __init__(self):

0 commit comments

Comments
 (0)