Fix loading issue for Faster RCNN model from #16783#18296
Conversation
|
@dkurt Please, take a look at the fix (seems like a crutch, but anyway). Still, it doesn't fix the problem on whole, because there are many unsupported operations in the ONNX model:
|
|
Even all the layers will be imported, model execution will be inefficient because of too atomic operations. |
Yes, I understand it, but to prevent it I plan to implement aggregate layers for RCNN models in a way similar to current Softmax or BatchNormalization OpenCV layers. And even in this case extra layers are required. |
|
@mshabunin I think there is a problem with Linux Custom builder, there might be some problems with MYRIAD device, could you check? |
|
@sl-sergei , there is a merge conflict in opencv_extra repository now, please rebase your branch. |
8fbb81c to
5d1e719
Compare
|
Looks like this patch brokes MYRIAD tests somehow: |


relates: #16783
merge with extra: opencv/opencv_extra#804
Necessary changes for further work on supporting RCNN-like models from torchvision.