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

Unsupported op_type PRelu #57

Open
rajrajhans opened this issue Jul 1, 2024 · 0 comments
Open

Unsupported op_type PRelu #57

rajrajhans opened this issue Jul 1, 2024 · 0 comments

Comments

@rajrajhans
Copy link

While trying to import MediaPipe Face Mesh model, I encountered this error:

** (ArgumentError) unsupported "PRelu"
    (axon_onnx 0.4.0) lib/axon_onnx/deserialize.ex:2213: AxonOnnx.Deserialize.recur_nodes/2
    (elixir 1.17.1) lib/enum.ex:2531: Enum."-reduce/3-lists^foldl/2-0-"/3
    (axon_onnx 0.4.0) lib/axon_onnx/deserialize.ex:43: AxonOnnx.Deserialize.graph_to_axon/2
    (axon_onnx 0.4.0) lib/axon_onnx/deserialize.ex:26: AxonOnnx.Deserialize.to_axon/2

Axon supports the activation function Leaky ReLU, which uses a fixed 𝛼. In case of PRelu, the logic is the same except that instead 𝛼 being static, it's learnable. So, we can use Axon's Leaky Relu to support the op_type PRelu

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