mlboydaisuke commited on
Commit
b1aacc9
·
verified ·
1 Parent(s): 2273601

Card: say at the top that ONNX Runtime 1.31.1 cannot load the ONNX file; quote the full load error without a local path

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -12,7 +12,7 @@ tags:
12
 
13
  # YOLACT-ResNet50-OpenVINO
14
 
15
- YOLACT-ResNet50 for Intel NPUs, GPUs and CPUs: yolact from [litert-community/YOLACT-ResNet50-LiteRT](https://huggingface.co/litert-community/YOLACT-ResNet50-LiteRT/tree/3ecb14b9c4635cd87b515e1d12201c2c1631e19c) as ONNX (tf2onnx 1.17.0, opset 17), OpenVINO IR with fp32 weights, and a precompiled Intel NPU blob. On the NPU of a Core Ultra 9 386H the blob runs in 16.29 ms per run, numpy input to numpy output.
16
 
17
  Scripts, raw records, and the same table for all 52 graphs of LiteRT-Models: https://github.com/john-rocky/windows-zoo
18
 
@@ -73,7 +73,7 @@ outputs = compiled(feeds)
73
  print({o.get_any_name(): outputs[o].shape for o in compiled.outputs})
74
  ```
75
 
76
- ONNX Runtime 1.31.1 with the OpenVINO EP 1.8.1 does not run `yolact.onnx` on the NPU: the session fails to load (`onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from C:\src\zoo\onnx\yolact.onnx failed:Node (__main__.Wrap/yolact.`). The OpenVINO lines above run it.
77
 
78
  ## Licence
79
 
 
12
 
13
  # YOLACT-ResNet50-OpenVINO
14
 
15
+ YOLACT-ResNet50 for Intel NPUs, GPUs and CPUs: yolact from [litert-community/YOLACT-ResNet50-LiteRT](https://huggingface.co/litert-community/YOLACT-ResNet50-LiteRT/tree/3ecb14b9c4635cd87b515e1d12201c2c1631e19c) as ONNX (tf2onnx 1.17.0, opset 17), OpenVINO IR with fp32 weights, and a precompiled Intel NPU blob. ONNX Runtime 1.31.1 cannot load the ONNX file; use OpenVINO. On the NPU of a Core Ultra 9 386H the blob runs in 16.29 ms per run, numpy input to numpy output.
16
 
17
  Scripts, raw records, and the same table for all 52 graphs of LiteRT-Models: https://github.com/john-rocky/windows-zoo
18
 
 
73
  print({o.get_any_name(): outputs[o].shape for o in compiled.outputs})
74
  ```
75
 
76
+ ONNX Runtime 1.31.1 with the OpenVINO EP 1.8.1 does not run `yolact.onnx` on the NPU: the session fails to load with `[ShapeInferenceError] Incompatible dimensions` on the Add node `__main__.Wrap/yolact.Yolact_n/yolact.FPN_fpn;3`. The CPU and CUDA EPs fail the same way. The OpenVINO lines above run it.
77
 
78
  ## Licence
79