-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grouped Convolution on VPU #4073
Comments
Hi @dhpalle Thanks for reaching out, according to the documentation Convolution-Grouped 3D layer is only supported on CPU and GPU plugins. @ilya-lavrenov Could you confirm? Regards, |
@Maxim-Doronin to comment about MYRIAD layers support. |
@jgespino Executing inference test with HETERO:MYRIAD,CPU
0%| | 0/53 [00:06<?, ?it/s]
Traceback (most recent call last):
File "run.py", line 191, in <module>
main()
File "run.py", line 188, in main
run_vino(args)
File "run.py", line 151, in run_vino
summ = runBM_session_openvino(ie,net,args.num_iter,bs,provider)
File "run.py", line 119, in runBM_session_openvino
exec_net = ie.load_network(network=net, device_name=provider)
File "ie_api.pyx", line 306, in openvino.inference_engine.ie_api.IECore.load_network
File "ie_api.pyx", line 315, in openvino.inference_engine.ie_api.IECore.load_network
RuntimeError: Failed to compile layer "Conv_76": number of biases must equal to number of output channels per group, but: channels per group=1, biases=3 |
@elatkin, could you please comment on it as Conv3D stage author? |
@elatkin I am not sure how to HETERO plugin works. According to the documentation here (https://docs.openvinotoolkit.org/latest/openvino_docs_IE_DG_supported_plugins_HETERO.html), HETERO plugin should take care of fallback to CPU for case of provider="HETERO:MYRIAD,CPU". If the detection of the no support for groups>1 occurs inside convolution.cpp, will the fallback still occur ? |
@dhpalle Here is my vision of the situation:
Concerning the hetero plugin, I am not sure about performance on ARM processor. I think, by CPU we primarily implied x86, see: Anyway, please let me find another person who could explain the hetero plugin. I must confess that I do not know much about the hetero |
@dhpalle |
Ref. 48529 |
MYRIAD plugin is removed from master branch. |
Hello All,
I am trying to understand the logic behind the assertion at line 404
in the file
https://github.com/openvinotoolkit/openvino/blob/master/inference-engine/src/vpu/graph_transformer/src/stages/convolution.cpp
I copied the assertion below for ease of reference:
Assertion expects that the number of number of biases to be equal to number of output channels per group.
If the network has layer like the one described below:
So out_channels/groups /= len(bias)
I converted a model with such layer from onnx to openvino format. Model runs on CPU but fails to run on VPU due to the assertion above.
How can we fix this ?
The text was updated successfully, but these errors were encountered: