AlekseyKorshuk
commited on
Commit
•
9abaf11
1
Parent(s):
bd02ff9
updates
Browse files- detection_metrics.py +6 -3
detection_metrics.py
CHANGED
@@ -88,9 +88,12 @@ __author__ = 'tsungyi'
|
|
88 |
# Code written by Piotr Dollar and Tsung-Yi Lin, 2015.
|
89 |
# Licensed under the Simplified BSD License [see coco/license.txt]
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
94 |
|
95 |
|
96 |
def encode(bimask):
|
|
|
88 |
# Code written by Piotr Dollar and Tsung-Yi Lin, 2015.
|
89 |
# Licensed under the Simplified BSD License [see coco/license.txt]
|
90 |
|
91 |
+
try:
|
92 |
+
iou = _mask.iou
|
93 |
+
merge = _mask.merge
|
94 |
+
frPyObjects = _mask.frPyObjects
|
95 |
+
except:
|
96 |
+
pass
|
97 |
|
98 |
|
99 |
def encode(bimask):
|