Commit b950b46
COCO mAP metric (#2901)
* Keep only cocomap-related changes
i.e. ObjectDetectionMap and its dependencies
* Some improvements
Removed allow_multiple...
Renamed average_operand
Renamed _measure_recall... to _compute_recall...
* Update docs
* Fix a bug in docs
Docs has some nasty errors
* Fix a tiny bug related to allgather
* Fix a few bugs
* Redesign code:
Removed generic detection logics. Just that of the COCO is remained
Tests are updated
* Remove all_gather with different shape
* Add test for all_gather_with_different_shape func
* A few improvements
* Add an output transform
and apply a review comment
* Add a test for the output_transform
* Remove 'flavor' because all DeciAI, Ultralytics, Detectron and pycocotools use the 'max-precision' approach
* Revert Metric change and a few bug fix
* A tiny improvement in local variable names
* Add max_dep and area_range
* some improvements
* Improvement in code
* Some improvements
* Fix a bug; Some improvements; Improve docs
* Fix metrics.rst
* Remove @OverRide which is for 3.12
* Fix mypy issues
* Fix two tests
* Fix a typo in tests
* Fix dist tests
* Add common obj. det. metrics
* Change an annotation for the sake of M1 python3.8
* Use if check on torch.double usages for MPS backend
* Fix a typo
* Fix a bug related to tensors on same devices
* Fix a bug related to MPS and torch.double
* Fix a bug related to MPS
* Fix a bug related to MPS
* Fix a bug related to MPS
* Resolve MPS's lack of cummax
* Revert MPS fallback
* Apply comments
* Revert unnecessary changes
* Apply review comments
* Skip MPS on test_integraion as well
---------
Co-authored-by: vfdev <vfdev.5@gmail.com>1 parent 8255a0f commit b950b46
File tree
11 files changed
+2185
-5
lines changed- docs/source
- ignite/metrics
- vision
- tests/ignite/metrics
- vision
11 files changed
+2185
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
93 | 103 | | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
| 876 | + | |
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | | - | |
| 47 | + | |
40 | 48 | | |
41 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
42 | 52 | | |
43 | | - | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments