These unsupported ops are: 'softplus'
收藏
错误如题,我在使用paddlex训练出模型后,使用paddleLite进行优化生成nb文件时,报了如下错误。求助各位大佬
This model is not supported, because 1 ops are not supported on 'arm'. These unsupported ops are: 'softplus'
paddleLite文件内容:
# 引用Paddlelite预测库
from paddlelite.lite import *
# 1. 创建opt实例
opt=Opt()
# 2. 指定输入模型地址
opt.set_model_dir("./kunchong2/inference_model/inference_model")
# 3. 指定转化类型: arm、x86、opencl、npu
opt.set_valid_places("arm")
# 4. 指定模型转化类型: naive_buffer、protobuf
opt.set_model_type("naive_buffer")
# 4. 输出模型地址
opt.set_optimize_out("mobilenetv1_opt")
# 5. 执行模型优化
opt.run()
0
收藏
请登录后评论
说明ARM目前不支持算子softplus,看看能不能更换其他试试
其他的也都有各种不支持,主要我过年前还好好的 什么都没变,过年后来就不行了。。。 我更新了paddleLite版本到最新的
建议版本还是用之前的,可能最新的对于其他的Op适配还不全