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

this wrapper can support PRelu? #4

Open
SyGoing opened this issue Jan 20, 2019 · 5 comments
Open

this wrapper can support PRelu? #4

SyGoing opened this issue Jan 20, 2019 · 5 comments

Comments

@SyGoing
Copy link

SyGoing commented Jan 20, 2019

No description provided.

@lewes6369
Copy link
Owner

HI,@SyGoing. For PRelu, you can just call createPReLUPlugin in PluginFactory.h checked by the layer name. It is implemented by tensorRT, but you need to load the alpha param.

@SyGoing
Copy link
Author

SyGoing commented Jan 26, 2019

Thanks for your reply, I have implement the prelu with the pluginFactory while I didn't use the createPReLUPlugin ,since I don't know how to use it . I will read your code again.

Rencently, I have seen somebody using the relu and scale to implement the PRelu Layer for keeping the TensorRT's CBR .

@lewes6369
Copy link
Owner

Thanks for your sharing.In my code I just used as LeakyRelu.
Could you share the url of the work mentioned above ? What is the network tested?

@SyGoing
Copy link
Author

SyGoing commented Jan 26, 2019

My PRelu implementation have not put on the github,while the other one have used the relu and scale method which is good for mtcnn's prelu layer: https://github.com/PKUZHOU/MTCNN_FaceDetection_TensorRT

@lewes6369
Copy link
Owner

Thanks. I will have a look :)

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