models icon indicating copy to clipboard operation
models copied to clipboard

Invalid input scale for mxnet_arcface in opset8

Open mohdansx opened this issue 4 years ago • 1 comments

mxnet_arcface from opset8 is throwing error with invalid input scale

Which model does this pertain to?

mxnet_arcface

Describe the bug

[E:onnxruntime:, sequential_executor.cc:309 Execute] Non-zero status code returned while running BatchNormalization node. Name:'stage1_unit1_bn1' Status Message: Invalid input scale: NumDimensions() != 3;Run failed:PerformanceRunner::RunOneIteration caught exception: Non-zero status code returned while running BatchNormalization node. Name:'stage1_unit1_bn1' Status Message: Invalid input scale: NumDimensions() != 3;

Reproduction instructions

Run the model on Default CPU ONNX Runtime Repository Used: onnxruntime Branch: master

Build Command :

  • cd PATH/TO/onnxruntime/
  • ./build.sh --config RelWithDebInfo --build --update --build_wheel --parallel

Test Command : ./onnxruntime_perf_test -e cpu -m times -r 10 PATH/TO/mxnet_arcface/model.onnx

System Information
Linux Ubuntu 18.04: Onnxruntime.

mohdansx avatar Aug 14 '20 10:08 mohdansx

see https://github.com/onnx/models/issues/242

workaround is described in https://github.com/microsoft/onnxruntime/issues/2447

faxu avatar Aug 15 '20 01:08 faxu