ONNX Model Upload Job Failed

Hello everyone,

I tried to upload a .onnx model to a new project. It fails with the following output:

Creating job… OK (ID: 9052936)

Scheduling job in cluster…
Container image pulled!
Job started
Converting ONNX model…
Scheduling job in cluster…
Container image pulled!
Job started
INFO: No representative features passed in, won’t quantize this model

Trying conversion using onnx2tf…
Grabbing input information…
Grabbing input information OK
Conversion using onnx2tf OK

Copying files…
cp: cannot stat ‘onnx2tf-out/float32.tflite’: No such file or directory
rm: cannot remove 'onnx2tf-out/
.tflite’: No such file or directory
/app/convert-onnx.sh: line 94: cd: onnx2tf-out: No such file or directory
Copying files OK
Converting ONNX model OK

Reading model info…

ENOENT: no such file or directory, open ‘/home/node/studio/user/227250/pretrained-model/model.tflite’

Job failed (see above)

To me it looks like the model is converted successfully, but some files are not where they are supposd to be.
Any ideas what is happening?

hi @tland

Could it be your onnx model:

  1. doesn’t have a batch dimension of 1 or
  2. you have multiple inputs?

Either isn’t supported by Edge Impulse. We have a PR that will merge later this week that’ll return a more informative message in either case.

// Raul