Mediapipe适配昇腾化
收藏回复举报
Mediapipe适配昇腾化
发表于2024-10-28 19:39:57
0 查看

Mediapipe用的是tensorflow框架,用了tfplugin工具进行了自动化切换。

切换完成后(检查没有failed_report.txt文件),运行发现还是跑在CPU上,没有切换到NPU上。

CPU开销很高

image.png

npu-smi info命令查询无process

image.png

mediapipe git链接:https://github.com/google-ai-edge/mediapipe

参考文档:https://www.hiascend.com/document/detail/zh/canncommercial/80RC2/developmentguide/moddevg/tfmigr1/tfmigr1_000011.html#ZH-CN_TOPIC_0000001979744661__section129451432204518

本帖最后由 匿名用户2024/10/29 09:34:41 编辑

我要发帖子