Skip to content
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

unrecognized Caffe layer type [Reshape] #47

Closed
GithubAbner opened this issue Feb 26, 2020 · 4 comments
Closed

unrecognized Caffe layer type [Reshape] #47

GithubAbner opened this issue Feb 26, 2020 · 4 comments

Comments

@GithubAbner
Copy link

When I use vitis-ai-caffe to compile my caffe model .
I got a err like:
"[VAI_C][Warning]Only 'SUM' type is supported for Eltwise,current layer is [stem_activation]"
"[VAI_C][Warning]Only 'SUM' type is supported for Eltwise,current layer is [block1a_activation]"
"[VAI_C][Error]unrecognized Caffe layer type [Reshape]"
"[VAI_C][Error]Parsing layer graph failed"
it looks like DPU does not support Reshape and Eltwise layer(except 'SUM'),but it difficults to change "Reshape" layer in my caffe model.
Is there some suggestions for me to avoid this error?
Thanks!

@A1exy
Copy link

A1exy commented Mar 31, 2020

I also encountered the same error with the SSD model.


  • VITIS_AI Compilation - Xilinx Inc.

[VAI_C][Warning] Only 'channel' axis supported on DPU for Concat, current layer is [mbox_priorbox].
[VAI_C][Error] Unrecognized Caffe layer type [Reshape].
[VAI_C][Error] Parsing layer graph failed.

@qianglin-xlnx
Copy link
Contributor

Hi GithubAbner,
I wonder if you have solved this issue. If not, I will submit this issue to the engineer in charge of it. If it has been resolved, please let me know and I will close this issue.
Note that if we do not receive any reply from you within 2 weeks, we will assume that this issue has been resolved and will close this issue. Thank you.

@qianglin-xlnx
Copy link
Contributor

Hi @GithubAbner and @A1exy ,
Yes, Reshape layer is not supported by the VAI_C, you have to remove Reshape layer from the prototxt and use CPU to process this layer. Hope it useful for you.

@qianglin-xlnx
Copy link
Contributor

Hi @GithubAbner
Since I haven't received your reply for a long time, I will close this issue. If you still have a problem, you can reopen it. Thank you very much.

hanxue pushed a commit that referenced this issue Aug 7, 2020
janifer112x pushed a commit to janifer112x/Vitis-AI that referenced this issue Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants