Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Error while loading ONNX Model in JAVA Onnxruntime fails - Node:mean_lambda_layer/Mean:0_unsqueeze : Node (mean_lambda_layer/Mean:0_unsqueeze) has input size 1 not in range [min=2, max=2]. #721

Open
bworksprojects opened this issue Jun 4, 2021 · 0 comments

Comments

@bworksprojects
Copy link

while loading a keras model with multiple lambda layers getting the following error
Error in Node:mean_lambda_layer/Mean:0_unsqueeze : Node (mean_lambda_layer/Mean:0_unsqueeze) has input size 1 not in range [min=2, max=2].

The model conversion for h5 to onnx was successful , load in the JAVA fails

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant