用ATC转yolov8.onnx为.om报错E40020
收藏回复举报
用ATC转yolov8.onnx为.om报错E40020
t('forum.solved') 已解决
新人帖
发表于2023-06-29 18:45:14
0 查看

 

(base) root@davinci-mini:/home# atc --model=model.onnx --framework=5 --output=model --soc_version=Ascend310B1 

ATC start working now, please wait for a moment. 

ATC run failed, Please check the detail log, Try 'atc --help' for more information 

E40020: Failed to import Python module [ModuleNotFoundError: No module named 'sympy'.]. 

        Solution: Check that all required components are properly installed and the specified Python path matches the Python installation directory. (If the path does not match the directory, run set_env.sh in the installation package.) 

        TraceBack (most recent call last): 

        [GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1531] 

        [SubGraphOpt][PreCompileOp][InitAdapter] InitializeAdapter adapter [tbe_op_adapter] failed! Ret [4294967295][FUNC:InitializeAdapter][FILE:op_store_adapter_manager.cc][LINE:67] 

        [SubGraphOpt][PreCompileOp][Init] Initialize op store adapter failed, OpsStoreName[tbe-custom].[FUNC:Initialize][FILE:op_store_adapter_manager.cc][LINE:115] 

        [FusionMngr][Init] Op store adapter manager init failed.[FUNC:Initialize][FILE:fusion_manager.cc][LINE:357] 

        PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:100] 

        OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:188] 

        GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:121] 

 

%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202023-06-29%20181821.png

我要发帖子