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

Commit

Permalink
Merge pull request #146 from Unity-Technologies/0.2.x-dependency-update
Browse files Browse the repository at this point in the history
update dependencies to newer versions for sprawl compatibility
  • Loading branch information
zook-unity authored Feb 24, 2021
2 parents d1e09d2 + 2bd1fe4 commit 022fd4c
Show file tree
Hide file tree
Showing 4 changed files with 1,202 additions and 962 deletions.
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
)

def __init__(self):
Expand Down
Loading

0 comments on commit 022fd4c

Please sign in to comment.