-
Notifications
You must be signed in to change notification settings - Fork 124
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
Leaky_relu -> tf.maximum(x, alpha*x) #165
Comments
@albertfaromatics I'm not sure about leaky-relu, but we do have prelu in our roadmap which is quite similar.
maximum is definitely a supported op, so in theory should works! |
@Namburger thanks for your response! We will wait then. Model with ReLU is working fine, but as we are using YOLO, I think that being able to eliminate de dying neurons problem will improve quite a bit the detection, in particular of small objects! |
yes, the problem with small objects is complicated, right now we're working on a pure application side solution demo where we split images into smaller chunk and applies nms to get resulting small objects. It has been working well for us, but it's not ideal |
That was our first approach: split image in 4 subimages and do multiple inference. The implementation seems to be training and possible to quantize, but not tested it yet. I will report back when I test it and see if there's an improvement or not. @Namburger I also have another question: I'm trying to do the same with mish Looking at the supported ops on coral:
Thanks for your incredible work and help! |
@albertfaromatics This page will give you a good list of what ops are supported for quantization and this page shows their roadmap. |
I've been looking for information about the quantization and support on Leaky_relu of the coral, but I cannot see anything about it being available nor a possible future date.
Looking at the implementation of leaky_relu, and the list of supported ops, I've seen that Maximum is supported. Could we implement tf.nn.leaky_relu as tf.maximum(x, alpha * x), being alpha < 1?
Will it work after quantization + compile?
The text was updated successfully, but these errors were encountered: