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

Relu6 Operation not Converting #167

Open
banoffee-pie opened this issue Jun 30, 2023 · 0 comments
Open

Relu6 Operation not Converting #167

banoffee-pie opened this issue Jun 30, 2023 · 0 comments

Comments

@banoffee-pie
Copy link

Converting a model that has Relu6 operation fails; it seems to be converted into a clip where the min and max is not set.

I hacked together a temporary fix (https://github.com/banoffee-pie/onnx2keras) by checking if the min and max parameters are set, and if not, setting them to 0 and 6 respectively.

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

1 participant