环境:
- Unity Barracuda 3.0.1
- 从github直接拉取的barracuda仓库才能装到这个版本
- Barracuda以后不再升级了,会迁移到Unity AI大计划里的Sentis
- 我想申请的来着但好像已经不开放了
- Unity 2021.3.20
- 模型:
dw-ll_ucoco_384.onnx
报了一些错,但是实在没查到对应的解决方法,放弃了。。
推测还是因为barracuda这边处理split节点有点问题,但是实在不知道怎么修复
报错内容:
OnnxImportException: Unexpected error while parsing layer onnx::Mul_867 of type MatMul.
The given key 'onnx::MatMul_850' was not present in the dictionary.
Json: { "input": [ "onnx::MatMul_866", "onnx::MatMul_850" ], "output": [ "onnx::Mul_867" ], "name": "MatMul_307", "opType": "MatMul" }
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0
at Unity.Barracuda.ONNX.ONNXNodeWrapper.get_Input1Rank () [0x0000