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

Caffe to NNEF: No support for Prelu's #72

Closed
neil-jones-work opened this issue Mar 21, 2019 · 6 comments
Closed

Caffe to NNEF: No support for Prelu's #72

neil-jones-work opened this issue Mar 21, 2019 · 6 comments

Comments

@neil-jones-work
Copy link

I'm trying to convert MTCNN to NNEF (and ultimately to openVX) but the Caffe converter doesn't support Prelu activations:

~/src/MTCNN_face_detection_alignment/code/codes/MTCNNv1/model$ caffe_to_nnef det1.prototxt --model det1.caffemodel
Error: caffe_to_dog: No converter for: PReLU
Error: caffe_to_dog: No converter for: PReLU
Error: caffe_to_dog: No converter for: PReLU
Error: No converter for PReLU
Error: conv1_1: Corresponding targetdn not defined
Error: No converter for PReLU
Error: conv2_1: Corresponding targetdn not defined
Error: No converter for PReLU
Error: conv3_1: Corresponding targetdn not defined

https://github.com/kpzhang93/MTCNN_face_detection_alignment

@gyenesvi
Copy link
Contributor

Indeed, this is missing from the converter, we'll add it soon.

@gyenesvi
Copy link
Contributor

We have added prelu support, can you test it now?

@neil-jones-work
Copy link
Author

Yes the model now successfully converts thanks!
IIRC there used to be an NNEF to openVX converter on the Khronos site, Is this still supported ? if not will openVX output be added to the NNEF converter ?

@gyenesvi
Copy link
Contributor

gyenesvi commented Apr 2, 2019

It believe there was no official such converter. Where was that converter available?

@neil-jones-work
Copy link
Author

neil-jones-work commented Apr 3, 2019 via email

@gyenesvi
Copy link
Contributor

gyenesvi commented Apr 3, 2019

I believe the OpenVX group is working on a mechanism to import NNEF models into OpenVX, that can be implemented by vendors, but I cannot tell details about it until the spec is published.

@gyenesvi gyenesvi closed this as completed Apr 3, 2019
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

2 participants