首页 Paddle Lite 帖子详情
ops are not supported on 'x86' unsupported ops are: 'matmul_v2'
收藏
快速回复
Paddle Lite 问答部署推理端侧 799 1
ops are not supported on 'x86' unsupported ops are: 'matmul_v2'
收藏
快速回复
Paddle Lite 问答部署推理端侧 799 1

   Paddlelite 在 ubuntu melodic 86_64 x86_64 x86_64 GNU/Linux虚拟机上,使用opt工具部署模型时,出现This model is not supported, because 1 ops are not supported on 'x86'. These unsupported ops are: 'matmul_v2'。

查了文档 支持中Khost和K86支持的op, 2.1到2.9版本暂时不支持这个op,我在卷积神经网络模型中的损失函数更换了三种

loss_func = paddle.nn.L1Loss()

loss_func = fluid.layers.elementwise_sub(predict, label)

loss_func = predict-label

matmul_v2还是不能消除,或者变成x86支持的matmul,但是在使用交叉商损失函数的模型中就没有matmul_v2.

 

0
收藏
回复
全部评论(1)
时间顺序
你是一只小可爱
#2 回复于2022-04

目前该算子在Paddle lIte develop分支中增加了,目前正在发版前的测试,4月中旬会完成支持,着急使用的话,可以先用Paddle lite的Develop分支。 (这个是picodet模型将后处理放到了模型结构中)

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户