onnx / keras-onnx

Convert tf.keras/Keras models to ONNX
Apache License 2.0
379 stars 109 forks source link

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 3 years ago

bworksprojects commented 3 years ago

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