onnx 1.2 models (Custom Vision) on HoloLens

I'm using the Unity Project from this blogpost: https://mtaulty.com/2018/03/29/third-experiment-with-image-classification-on-windows-ml-from-uwp-on-hololens-in-unity/

I had issues that my own exported models don't work with the the code after some point. Now it is possible to export onnx models of version 1.2, but the the old code seems to not be compatible with the new version.

in the line var evalOutput = await this.learningModel.EvaluateAsync(this.inputData); in the MainScript it throws The binding is incomplete or does not match the input/output description. (Exception from HRESULT: 0x88900002)

Does someone know what I need to change so it works with the new version on HoloLens? Thanks in advance!

Best Answer

  • mtaultymtaulty ✭✭
    Accepted Answer

    I'm not sure whether this is the answer for you or not but I notice that when I try and export an ONNX V1.2 model out of the custom vision service then the website does flag to me;

    "ONNX1.2 only works for Windows 10 Build 17738 or higher"

    Is your Windows 10 here at version 17738 or beyond?

Answers

  • mtaultymtaulty ✭✭
    Accepted Answer

    I'm not sure whether this is the answer for you or not but I notice that when I try and export an ONNX V1.2 model out of the custom vision service then the website does flag to me;

    "ONNX1.2 only works for Windows 10 Build 17738 or higher"

    Is your Windows 10 here at version 17738 or beyond?

  • Hi Mike!

    I always thought it's about the SDK and I'm using the SDK 17763 to build the App in Unity. ( https://imgur.com/w2kXfLU )

    But I just checked this PC and the HoloLens and of course the Build number is lower.

    So I guess I have to update them somehow.

Sign In or Register to comment.