logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Unity Barracuda:解决OnnxImportException: Unexpected error while parsing layer *** of type Split.

我的模型是从paddle-detection导出并使用paddle-onnx转换的先用https://netron.app/找出带split的节点点击查看,找到split属性如果没有就按output的个数构造,比如下面这个有4个输出就是[1,1,1,1]然后下载https://github.com/Unity-Technologies/barracuda-release/issues/138里面维

#unity#游戏引擎
配置安装paddle-detection

安装教程:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.2/docs/tutorials/INSTALL_cn.md环境:最难的一步:在windows上安装pycocotoolspip install git+https://github.com/philferriere/cocoapi.git#subdirector

测试DWPose的onnx +Unity barracuda

推测还是因为barracuda这边处理split节点有点问题,但是实在不知道怎么修复。报了一些错,但是实在没查到对应的解决方法,放弃了。

文章图片
#unity#游戏引擎
暂无文章信息