急急急,缺少import Python module [ModuleNotFoundError: No module named 'tbe'.].模块应该如何解决
收藏回复举报
急急急,缺少import Python module [ModuleNotFoundError: No module named 'tbe'.].模块应该如何解决
t('forum.solved') 已解决
发表于2024-01-31 14:03:38
0 查看
root@3f0f03e5014e:/tmp# atc --model=$HOME/module/resnet50_export.air --framework=1 --output=$HOME/module/out/ResNet50_mindspore --soc_version=Ascend310 

ATC start working now, please wait for a moment. 

... 

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

EC0010: Failed to import Python module [ModuleNotFoundError: No module named 'tbe'.]. 

        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:1623] 

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

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

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

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

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

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

cke_396.png

我要发帖子