faster-coco-eval 1.8.0__cp315-cp315-win_amd64.whl

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.
@@ -0,0 +1,39 @@
1
+ """""" # start delvewheel patch
2
+ def _delvewheel_patch_1_13_0():
3
+ import os
4
+ if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'faster_coco_eval.libs'))):
5
+ os.add_dll_directory(libs_dir)
6
+
7
+
8
+ _delvewheel_patch_1_13_0()
9
+ del _delvewheel_patch_1_13_0
10
+ # end delvewheel patch
11
+
12
+ import sys
13
+
14
+ import faster_coco_eval.core.coco as coco
15
+ import faster_coco_eval.core.faster_eval_api as cocoeval
16
+ import faster_coco_eval.core.mask as mask
17
+ from faster_coco_eval.core import COCO, COCOeval_faster
18
+ from faster_coco_eval.version import __author__, __version__
19
+
20
+
21
+ def init_as_pycocotools():
22
+ import faster_coco_eval
23
+
24
+ sys.modules["pycocotools"] = faster_coco_eval
25
+ sys.modules["pycocotools.coco"] = coco
26
+ sys.modules["pycocotools.cocoeval"] = cocoeval
27
+ sys.modules["pycocotools.mask"] = mask
28
+
29
+
30
+ __all__ = [
31
+ "init_as_pycocotools",
32
+ "mask",
33
+ "coco",
34
+ "cocoeval",
35
+ "COCO",
36
+ "COCOeval_faster",
37
+ "__author__",
38
+ "__version__",
39
+ ]
@@ -0,0 +1,4 @@
1
+ from .coco import COCO
2
+ from .faster_eval_api import COCOeval_faster
3
+
4
+ __all__ = ["COCO", "COCOeval_faster"]