Conversation
|
Thank you! Can you please for each fixed case provide a simple one-layer test by the following script: https://github.com/opencv/opencv_extra/blob/master/testdata/dnn/onnx/generate_onnx_models.py? |
|
Hi, @dkurt |
|
Update: |
|
Hi, Do we have to build the code after generating models or they are generated automatically during the build? |
These logs were expired. |
|
Thanks @alalek what(): OpenCV(3.4.9-dev) /home/czgdp1807/opencv_project/opencv/modules/dnn/src/dnn.cpp:561: error: (-2:Unspecified error) Can't create layer "LabelId" of type "ArgMax" in function 'getLayerInstance'Should I add a new file under |
|
@czgdp1807, Can you please dump a subgraph from the model which includes ArgMin node? Just to understand which layer it tries to perform. |
|
Thanks. IMO, this could be one of the ways as the last few layers(the layers which are extracting the label on the left side.) aren't making any difference to the result, though the interpretation would be different. |
964e0f1 to
d028da9
Compare
|
Please restart the tests here as I have made an update to |
+1 |
|
Amend commit (no changes are required, just update commit date) and push "new" changes to this PR: |
d028da9 to
4d7c441
Compare
|
Done. Locally the tests were passing. Let's see how it goes here. |
|
I have applied the comments and reviews. Let me know if anything else is to be done. Tests should pass here. |
|
The tests passed. Is it good to go? |
|
@czgdp1807, some of test from Inference Engine backend are failed: I can take a look and tell how to fix it On the other hand, other Split tests are skipped. So please add these lines at the beginning of test: |
|
How to run the failing tests locally, as no test was failing on, |
|
@czgdp1807, it's optional backend for deep learning module: https://github.com/opencv/opencv/wiki/Intel%27s-Deep-Learning-Inference-Engine-backend (OpenVINO). Anyway there are other tests for split which are failed as well. So let's skip it for now but fix them all separately. |
|
Sure. Can we open a separate issue for the remaining failures in |
|
Yep, let's open a separate issue to not to miss. Thanks! |
|
I have updated the code and opened a separate issue. Please let me know, if any more update is to be done in this PR. |
dkurt
left a comment
There was a problem hiding this comment.
👍 Thanks for your contribution!
* fixed Split layer in ONNXImporter * added test for fix of split layer * fixed tests for Split layer * applied reviews * updated tests * fixed paths in tests


Merge with extra: opencv/opencv_extra#701
resolves #16370
This pullrequest changes
This Pull Request aims to fix ONNXImporter. Currently, there are few bugs in processing of various
layer_typefrom.onnxfiles. The referenced issue reports a bug inSplitlayer. Though I have observed that there are more bugs. I have listed them below as tasks. I will update them every commit.