Mediapipe用的是tensorflow框架,用了tfplugin工具进行了自动化切换。
切换完成后(检查没有failed_report.txt文件),运行发现还是跑在CPU上,没有切换到NPU上。
CPU开销很高

npu-smi info命令查询无process

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
Mediapipe用的是tensorflow框架,用了tfplugin工具进行了自动化切换。
切换完成后(检查没有failed_report.txt文件),运行发现还是跑在CPU上,没有切换到NPU上。
CPU开销很高
npu-smi info命令查询无process
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