keras-onnx icon indicating copy to clipboard operation
keras-onnx copied to clipboard

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].

Open bworksprojects opened this issue 3 years ago • 0 comments

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

bworksprojects avatar Jun 04 '21 18:06 bworksprojects