Commit 86bb056
MulticlassNms/MatrixNms: transformations and CPU implementation (openvinotoolkit#6653)
* init version, need revise: opset7
* add convert testcase
* multiclass_nms support spec
* init version
* matrixnms support spec
* init support for matrix_nms
* impl matirx_nms
* implemented multiclass_nms reference.
TODO: more test cases.
* support dynamic shape in test
* update to spec 0611
* update to spec 0611
* fixes.
* fix: now sort by class_id and score work.
* fix clang check error
* more test cases verified.
* fixes in ref impl.
* attribute nms_eta works
* test cross_batch and output_type i32.
* enable multiclass-nms cpu plugin fallback ngraph
* keep topk typo
* enable matrix-nms cpu plugin fallback ngraph
* support sort_result_across_batch
* Add matrix_nms unit test
* Add cross batch test cases
* fix typo
* move multiclass to opset8
* move matrixnms to opset8
* Reference implementations for MulticlassNms and MatrixNms ops
* fix name conflict
* remove unused var
sort_result_across_batch default set to false
* avoid float overflow
* fix clang check error
* info for mac fail
* change testcase due to unstable sort
* nms add 'normalized' attribute
* multiclass cpu test support 'normalized'
* nms add 'normalized' attribute
* fixes: 1. normalized support. 2. sort by score before keep_top_k inside a batch.
* fixes: 1. normalized support. 2. sort by score before keep_top_k inside a batch.
* fix sort order in matrix_nms
* fix review comments
* add matrix_nms MKLDNN extension layer
* parallel in matirx nms
* separate filtered_box
* separate class_nms result
* parallel in class
* parallel in batch
* partial new nms
* partial remove useless function
* debug & fix
* debug in indexing
* fix test cases
* remove logging
* fix code-style
* fix typo
* add matrix_nms extension
* nms python api
* remove unused testcases
* refactor transformation
* transform dynamic shape to static shape
* Update inference-engine/src/transformations/include/ngraph_ops/nms_static_shape_ie.hpp
Co-authored-by: Ilya Churaev <[email protected]>
* remove register_pass call
* [MKLDNN]migrate matrix_nms to MKLDNNNode
* bug fix in matrix_nms
* padding on matrix_nms
* remove logging
* test case refine
* merged transform_matrix_nms branch
* refine matrixnms testcase
* multiclass nms cpu plugin implement for static shape, rebased on Reference implementations PR
* rebase to new multi-classs transform provided by lc
* Name style algin with matrix-nms
* static shape padding style to batch inside,new unit test method, real classnum shape
* fix format
* fix ci error
* multi-class NMS modification based on PR reviewer opinion: code format, copyright, delete unused include and funciton way
* explicit template instantiation due to mac ci fail
* Yi3/fix review (#16)
* fix coding style
* use parallel_for2d
* fix ci fail
* unify 'copyright 2021'
* mkldnn_multiclass_nms node update based on PR review (#17)
* [MKLDNN] apply suggestion for matrix_nms (#18)
* fix bug
* apply review comments
* apply review comments
* apply review comments
* apply review comments
* skip only Nms test, not MatrixNms MulticlassNms test
Co-authored-by: Zhang Yi3 <[email protected]>
Co-authored-by: jialipen <[email protected]>
Co-authored-by: mangguo <[email protected]>
Co-authored-by: Ilya Churaev <[email protected]>
Co-authored-by: liubo-intel <[email protected]>1 parent c0c2f2d commit 86bb056
File tree
31 files changed
+2325
-6
lines changed- inference-engine
- src
- inference_engine
- mkldnn_plugin
- nodes
- transformations
- include
- ngraph_ops
- transformations/op_conversions
- src
- ngraph_ops
- transformations/op_conversions
- tests/functional
- inference_engine
- serialization/single_layer
- transformations
- plugin
- ngraph/core/src/op
- util
31 files changed
+2325
-6
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
389 | 392 | | |
390 | 393 | | |
391 | 394 | | |
| 395 | + | |
| 396 | + | |
392 | 397 | | |
393 | 398 | | |
394 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
197 | 201 | | |
198 | 202 | | |
199 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| 173 | + | |
| 174 | + | |
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
| |||
0 commit comments