faster-coco-eval 1.6.6__tar.gz → 1.6.7__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.
Files changed (62) hide show
  1. {faster_coco_eval-1.6.6/faster_coco_eval.egg-info → faster_coco_eval-1.6.7}/PKG-INFO +28 -14
  2. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/README.md +26 -11
  3. faster_coco_eval-1.6.7/csrc/faster_eval_api/coco_eval/cocoeval.cpp +667 -0
  4. faster_coco_eval-1.6.7/csrc/faster_eval_api/coco_eval/cocoeval.h +112 -0
  5. faster_coco_eval-1.6.7/csrc/faster_eval_api/coco_eval/dataset.cpp +246 -0
  6. faster_coco_eval-1.6.7/csrc/faster_eval_api/coco_eval/dataset.h +82 -0
  7. faster_coco_eval-1.6.7/csrc/faster_eval_api/faster_eval_api.cpp +131 -0
  8. faster_coco_eval-1.6.7/csrc/mask_api/mask_api.cpp +201 -0
  9. faster_coco_eval-1.6.7/csrc/mask_api/src/mask.cpp +836 -0
  10. faster_coco_eval-1.6.7/csrc/mask_api/src/mask.h +120 -0
  11. faster_coco_eval-1.6.7/csrc/mask_api/src/rle.cpp +609 -0
  12. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/core/coco.py +127 -98
  13. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/core/cocoeval.py +202 -82
  14. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/core/faster_eval_api.py +142 -9
  15. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/core/mask.py +50 -57
  16. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/extra/curves.py +44 -21
  17. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/extra/display.py +66 -35
  18. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/extra/draw.py +75 -43
  19. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/extra/extra.py +40 -14
  20. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/extra/utils.py +27 -17
  21. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/utils/pytorch/coco_dataset.py +19 -4
  22. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/utils/pytorch/coco_eval.py +127 -17
  23. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/version.py +1 -1
  24. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7/faster_coco_eval.egg-info}/PKG-INFO +28 -14
  25. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval.egg-info/SOURCES.txt +6 -0
  26. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval.egg-info/requires.txt +3 -1
  27. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/pyproject.toml +1 -1
  28. faster_coco_eval-1.6.7/requirements/docs.txt +8 -0
  29. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/requirements/tests.txt +1 -1
  30. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/setup.py +1 -1
  31. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_basic.py +21 -9
  32. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_boundary.py +2 -0
  33. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_coco_metric.py +4 -1
  34. faster_coco_eval-1.6.7/tests/test_cocoapi_fake_data.py +91 -0
  35. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_crowdpose.py +2 -0
  36. faster_coco_eval-1.6.7/tests/test_dataset.py +66 -0
  37. faster_coco_eval-1.6.7/tests/test_extra_draw.py +174 -0
  38. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_keypoints.py +2 -0
  39. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_lvis_metric.py +5 -2
  40. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_mask_api.py +8 -0
  41. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_torchmetrics.py +8 -0
  42. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_world_evalutor.py +2 -0
  43. faster_coco_eval-1.6.6/csrc/faster_eval_api/coco_eval/cocoeval.cpp +0 -895
  44. faster_coco_eval-1.6.6/csrc/faster_eval_api/coco_eval/cocoeval.h +0 -166
  45. faster_coco_eval-1.6.6/csrc/faster_eval_api/faster_eval_api.cpp +0 -114
  46. faster_coco_eval-1.6.6/csrc/mask_api/mask_api.cpp +0 -132
  47. faster_coco_eval-1.6.6/csrc/mask_api/src/mask.cpp +0 -721
  48. faster_coco_eval-1.6.6/csrc/mask_api/src/mask.h +0 -108
  49. faster_coco_eval-1.6.6/csrc/mask_api/src/rle.cpp +0 -579
  50. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/LICENSE +0 -0
  51. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/MANIFEST.in +0 -0
  52. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/__init__.py +0 -0
  53. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/core/__init__.py +0 -0
  54. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/extra/__init__.py +0 -0
  55. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/utils/__init__.py +0 -0
  56. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval/utils/pytorch/__init__.py +0 -0
  57. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval.egg-info/dependency_links.txt +0 -0
  58. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/faster_coco_eval.egg-info/top_level.txt +0 -0
  59. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/requirements/extra.txt +0 -0
  60. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/requirements/runtime.txt +0 -0
  61. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/setup.cfg +0 -0
  62. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.7}/tests/test_init_pycocotools.py +0 -0
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-coco-eval
3
- Version: 1.6.6
3
+ Version: 1.6.7
4
4
  Summary: Faster interpretation of the original COCOEval
5
5
  Home-page: https://github.com/MiXaiLL76/faster_coco_eval
6
6
  Author: MiXaiLL76
7
7
  Author-email: mike.milos@yandex.ru
8
8
  Classifier: Development Status :: 4 - Beta
9
- Classifier: License :: OSI Approved :: Apache Software License
10
9
  Classifier: Operating System :: OS Independent
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.7
@@ -36,7 +35,7 @@ Requires-Dist: plotly; extra == "tests"
36
35
  Requires-Dist: pandas; extra == "tests"
37
36
  Requires-Dist: Pillow; extra == "tests"
38
37
  Requires-Dist: numpy; extra == "tests"
39
- Requires-Dist: pycocotools; extra == "tests"
38
+ Requires-Dist: pycocotools; python_version < "3.13" and extra == "tests"
40
39
  Requires-Dist: pytest; extra == "tests"
41
40
  Requires-Dist: pytest-cov; extra == "tests"
42
41
  Requires-Dist: parameterized; extra == "tests"
@@ -65,12 +64,25 @@ Dynamic: summary
65
64
 
66
65
  [![CI - Test](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml/badge.svg)](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml)
67
66
 
68
- <!-- [![Coverage](https://codecov.io/github/MiXaiLL76/faster_coco_eval/coverage.svg?branch=main)](https://codecov.io/gh/MiXaiLL76/faster_coco_eval) -->
67
+ ## Why should you replace pycocotools with **faster-coco-eval**?
69
68
 
70
- ## Disclaimer
69
+ | Aspect | pycocotools | **faster-coco-eval** |
70
+ | ------------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
71
+ | **Support & Development** | Outdated and not actively maintained. Issues and incompatibilities arise with new releases. | Actively maintained, continuously evolving, and regularly updated with new features and bug fixes. |
72
+ | **Transparency & Reliability** | Lacks comprehensive testing, making updates risky and results less predictable. | Emphasizes extensive test coverage and code quality, ensuring trustworthy and reliable results. |
73
+ | **Performance** | Significantly slower, especially on large datasets or distributed workloads. | Several times faster due to C++ optimizations and modern algorithms. |
74
+ | **Functionality** | Limited to basic COCO format evaluation. | Offers extended metrics, support for new IoU types, compatibility with more datasets (e.g., CrowdPose, LVIS), advanced visualizations, and seamless integration with PyTorch/TorchVision. |
71
75
 
72
- I often use this project, but I saw it abandoned and without a public repository on github.
73
- Also, part of the project remained unfinished for a long time. I implemented some of the author's ideas and decided to make the results publicly available.
76
+ ______________________________________________________________________
77
+
78
+ **By choosing faster-coco-eval, you benefit from:**
79
+
80
+ - Reliability and confidence in your results
81
+ - High processing speed
82
+ - Modern functionality and support for new tasks
83
+ - An active community and prompt response to your requests
84
+
85
+ Switch to **faster-coco-eval** and experience a new standard in working with COCO annotations!
74
86
 
75
87
  ## Install
76
88
 
@@ -142,7 +154,7 @@ Visualization of testing **colab_example.ipynb** available in directory [example
142
154
  ## Feautures
143
155
 
144
156
  This library provides not only validation functions, but also error visualization functions. Including visualization of errors in the image.
145
- You can study in more detail in the [examples](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/examples) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
157
+ You can study in more detail in the [examples](https://mixaill76.github.io/faster_coco_eval/examples.html) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
146
158
 
147
159
  ## Usage
148
160
 
@@ -150,14 +162,16 @@ Code examples for using the library are available on the [Wiki](https://github.c
150
162
 
151
163
  ### Examples
152
164
 
153
- - [Eval example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/eval_example.ipynb)
154
- - [Curve example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/curve_example.ipynb)
155
- - [CED Keypoint example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/ced_example.ipynb)
156
- - [LVIS example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/lvis_example.ipynb)
165
+ - [Eval example](https://mixaill76.github.io/faster_coco_eval/examples/eval_example.html)
166
+ - [Curve example](https://mixaill76.github.io/faster_coco_eval/examples/curve_example.html)
167
+ - [LVIS example](https://mixaill76.github.io/faster_coco_eval/examples/lvis_example.html)
168
+ - [Crowdpose example](https://mixaill76.github.io/faster_coco_eval/examples/crowdpose_example.html)
169
+ - [Custom keypoints example](https://mixaill76.github.io/faster_coco_eval/examples/ced_example.html)
170
+ - [showAnns example](https://mixaill76.github.io/faster_coco_eval/examples/show_example.html)
157
171
 
158
172
  ## Update history
159
173
 
160
- Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/history.md)
174
+ Available via link [history.md](https://mixaill76.github.io/faster_coco_eval/history.html)
161
175
 
162
176
  ## Star History
163
177
 
@@ -166,7 +180,7 @@ Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/bl
166
180
  ## License
167
181
 
168
182
  The original module was licensed with apache 2, I will continue with the same license.
169
- Distributed under the apache version 2.0 license, see [license](LICENSE) for more information.
183
+ Distributed under the apache version 2.0 license, see [license](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/LICENSE) for more information.
170
184
 
171
185
  ## Citation
172
186
 
@@ -11,12 +11,25 @@
11
11
 
12
12
  [![CI - Test](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml/badge.svg)](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml)
13
13
 
14
- <!-- [![Coverage](https://codecov.io/github/MiXaiLL76/faster_coco_eval/coverage.svg?branch=main)](https://codecov.io/gh/MiXaiLL76/faster_coco_eval) -->
14
+ ## Why should you replace pycocotools with **faster-coco-eval**?
15
15
 
16
- ## Disclaimer
16
+ | Aspect | pycocotools | **faster-coco-eval** |
17
+ | ------------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
18
+ | **Support & Development** | Outdated and not actively maintained. Issues and incompatibilities arise with new releases. | Actively maintained, continuously evolving, and regularly updated with new features and bug fixes. |
19
+ | **Transparency & Reliability** | Lacks comprehensive testing, making updates risky and results less predictable. | Emphasizes extensive test coverage and code quality, ensuring trustworthy and reliable results. |
20
+ | **Performance** | Significantly slower, especially on large datasets or distributed workloads. | Several times faster due to C++ optimizations and modern algorithms. |
21
+ | **Functionality** | Limited to basic COCO format evaluation. | Offers extended metrics, support for new IoU types, compatibility with more datasets (e.g., CrowdPose, LVIS), advanced visualizations, and seamless integration with PyTorch/TorchVision. |
17
22
 
18
- I often use this project, but I saw it abandoned and without a public repository on github.
19
- Also, part of the project remained unfinished for a long time. I implemented some of the author's ideas and decided to make the results publicly available.
23
+ ______________________________________________________________________
24
+
25
+ **By choosing faster-coco-eval, you benefit from:**
26
+
27
+ - Reliability and confidence in your results
28
+ - High processing speed
29
+ - Modern functionality and support for new tasks
30
+ - An active community and prompt response to your requests
31
+
32
+ Switch to **faster-coco-eval** and experience a new standard in working with COCO annotations!
20
33
 
21
34
  ## Install
22
35
 
@@ -88,7 +101,7 @@ Visualization of testing **colab_example.ipynb** available in directory [example
88
101
  ## Feautures
89
102
 
90
103
  This library provides not only validation functions, but also error visualization functions. Including visualization of errors in the image.
91
- You can study in more detail in the [examples](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/examples) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
104
+ You can study in more detail in the [examples](https://mixaill76.github.io/faster_coco_eval/examples.html) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
92
105
 
93
106
  ## Usage
94
107
 
@@ -96,14 +109,16 @@ Code examples for using the library are available on the [Wiki](https://github.c
96
109
 
97
110
  ### Examples
98
111
 
99
- - [Eval example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/eval_example.ipynb)
100
- - [Curve example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/curve_example.ipynb)
101
- - [CED Keypoint example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/ced_example.ipynb)
102
- - [LVIS example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/lvis_example.ipynb)
112
+ - [Eval example](https://mixaill76.github.io/faster_coco_eval/examples/eval_example.html)
113
+ - [Curve example](https://mixaill76.github.io/faster_coco_eval/examples/curve_example.html)
114
+ - [LVIS example](https://mixaill76.github.io/faster_coco_eval/examples/lvis_example.html)
115
+ - [Crowdpose example](https://mixaill76.github.io/faster_coco_eval/examples/crowdpose_example.html)
116
+ - [Custom keypoints example](https://mixaill76.github.io/faster_coco_eval/examples/ced_example.html)
117
+ - [showAnns example](https://mixaill76.github.io/faster_coco_eval/examples/show_example.html)
103
118
 
104
119
  ## Update history
105
120
 
106
- Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/history.md)
121
+ Available via link [history.md](https://mixaill76.github.io/faster_coco_eval/history.html)
107
122
 
108
123
  ## Star History
109
124
 
@@ -112,7 +127,7 @@ Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/bl
112
127
  ## License
113
128
 
114
129
  The original module was licensed with apache 2, I will continue with the same license.
115
- Distributed under the apache version 2.0 license, see [license](LICENSE) for more information.
130
+ Distributed under the apache version 2.0 license, see [license](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/LICENSE) for more information.
116
131
 
117
132
  ## Citation
118
133