The two most common errors when trying to execute mlgen are:
Required attribute 'consumed_inputs' is missing: If you run into this error message, then most likely you are trying to run an ONNX v1.2 model with a version of the Windows 10 SDK older than 17763; we recommend that you check your SDK version and update it to version 17763 or later.
Type Error: Type (map(string,tensor(float))) of output arg (loss) of node (ZipMap) does not match the expected type...: If you run into this error, then most likely your ONNX model is an older version than the one accepted by WinML starting with build 17763. We recommend that you update your converter package to the latest available version and reconvert your model to the 1.2 version of ONNX.