faster-coco-eval 1.5.3__tar.gz → 1.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {faster_coco_eval-1.5.3/faster_coco_eval.egg-info → faster_coco_eval-1.5.4}/PKG-INFO +1 -1
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/core/faster_eval_api.py +5 -7
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/extra/draw.py +10 -3
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/version.py +1 -1
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4/faster_coco_eval.egg-info}/PKG-INFO +1 -1
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/LICENSE +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/MANIFEST.in +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/README.md +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/faster_eval_api/coco_eval/cocoeval.cpp +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/faster_eval_api/coco_eval/cocoeval.h +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/faster_eval_api/faster_eval_api.cpp +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/mask/common/maskApi.c +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/mask/common/maskApi.h +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/mask/pycocotools/_mask.pyx +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/__init__.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/core/__init__.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/core/coco.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/core/cocoeval.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/core/mask.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/extra/__init__.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/extra/curves.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/extra/display.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/extra/extra.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval/extra/utils.py +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval.egg-info/SOURCES.txt +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval.egg-info/dependency_links.txt +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval.egg-info/requires.txt +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval.egg-info/top_level.txt +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/pyproject.toml +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/requirements/extra.txt +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/requirements/runtime.txt +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/setup.cfg +0 -0
- {faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/setup.py +0 -0
|
@@ -334,11 +334,6 @@ class COCOeval_faster(COCOeval):
|
|
|
334
334
|
|
|
335
335
|
@property
|
|
336
336
|
def stats_as_dict(self):
|
|
337
|
-
iouType = self.params.iouType
|
|
338
|
-
assert (
|
|
339
|
-
iouType == "segm" or iouType == "bbox"
|
|
340
|
-
), "iouType={} not supported".format(iouType)
|
|
341
|
-
|
|
342
337
|
labels = [
|
|
343
338
|
"AP_all",
|
|
344
339
|
"AP_50",
|
|
@@ -352,10 +347,13 @@ class COCOeval_faster(COCOeval):
|
|
|
352
347
|
"AR_small",
|
|
353
348
|
"AR_medium",
|
|
354
349
|
"AR_large",
|
|
355
|
-
"AR_50",
|
|
356
|
-
"AR_75",
|
|
357
350
|
]
|
|
358
351
|
|
|
352
|
+
if self.params.iouType in ["segm", "bbox"]:
|
|
353
|
+
labels += ["AR_50", "AR_75"]
|
|
354
|
+
else:
|
|
355
|
+
labels = [label for label in labels if "small" not in label]
|
|
356
|
+
|
|
359
357
|
if self.matched:
|
|
360
358
|
labels += [
|
|
361
359
|
"mIoU",
|
|
@@ -59,6 +59,12 @@ def generate_ann_polygon(
|
|
|
59
59
|
):
|
|
60
60
|
all_x += [xyz[int(p1 - 1), 0], xyz[int(p2 - 1), 0], None]
|
|
61
61
|
all_y += [xyz[int(p1 - 1), 1], xyz[int(p2 - 1), 1], None]
|
|
62
|
+
|
|
63
|
+
if ann.get("bbox"):
|
|
64
|
+
x1, y1, w, h = ann.get("bbox")
|
|
65
|
+
all_x += [x1, x1 + w, x1 + w, x1, x1, None]
|
|
66
|
+
all_y += [y1, y1, y1 + h, y1 + h, y1, None]
|
|
67
|
+
|
|
62
68
|
else:
|
|
63
69
|
raise ValueError()
|
|
64
70
|
|
|
@@ -218,9 +224,10 @@ def display_image(
|
|
|
218
224
|
|
|
219
225
|
legends = {}
|
|
220
226
|
for poly in polygons:
|
|
221
|
-
if
|
|
222
|
-
poly.
|
|
223
|
-
|
|
227
|
+
if poly is not None:
|
|
228
|
+
if legends.get(poly.legendgroup) is None:
|
|
229
|
+
poly.showlegend = True
|
|
230
|
+
legends[poly.legendgroup] = True
|
|
224
231
|
|
|
225
232
|
fig.add_trace(poly)
|
|
226
233
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "1.5.
|
|
1
|
+
__version__ = "1.5.4"
|
|
2
2
|
__author__ = "MiXaiLL76"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/csrc/faster_eval_api/coco_eval/cocoeval.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_coco_eval-1.5.3 → faster_coco_eval-1.5.4}/faster_coco_eval.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|