-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HardSigmoid op not support now for sophon example #1416
Comments
Hi, @KhantiInNaraka 能帮忙看下这个问题吗? |
@KhantiInNaraka 尝试yoloe-r时,也出现了Constant op not support now, 里面也没有NonMaxSuppression这个节点 |
这些问题在https://github.com/sophgo/tpu-mlir 下载新版本的mlir工具可以解决。另外,生成inputs.npz的文件可能需要修改一下,自测使用如下函数可以通过。 |
@Yi-sir 您好,我想用soc模式部署, 请问在docker开发环境里怎么使用fastdeploy,我看教程里是pcie模式的,参考文档:https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/cn/build_and_install/sophgo.md |
@thunder95 soc模式下,sophgo设备可以直接通过SD卡刷机完成环境配置,刷机指南参考【 https://www.sophgo.com/curriculum/detail.html?category_id=3&type_id=2&id=4 】,刷机包下载:【 https://sophon-file.sophon.cn/sophon-prod-s3/drive/23/01/05/12/Release_221201-public.zip 】。完成刷机之后可以尝试直接从https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/cn/build_and_install/sophgo.md 的【C++编译安装】部分开始执行 |
mlir报告NMS不支持的问题,可以参考【 https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/vision/detection/paddledetection/sophgo 】解决。注意python需要在推理代码中,模型初始化之后补充 【model.postprocessor.apply_nms()】,c++补充【model.GetPostprocessor().ApplyNMS();】 |
环境
完全按照例子https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/vision/detection/paddledetection/sophgo,生成onnx并转mlir模型时出现两个问题:
The text was updated successfully, but these errors were encountered: