昇腾310推理卡如何执行paddleocr转化后的.om模型
收藏回复举报
昇腾310推理卡如何执行paddleocr转化后的.om模型
新人帖
发表于2024-01-13 11:38:06
0 查看

根据gitee的paddleocr移植案例,配置好环境,执行python main.py,在ret = stream_manager_api.InitManager()出现以下错误,初始化失败。

Begin to initialize Log. 

WARNING: Logging before InitGoogleLogging() is written to STDERR 

W20240112 07:58:07.434226  4201 FileUtils.cpp:336] owner id diff: current process user id is 0, file owner id is 1000 

W20240112 07:58:07.436034  4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (log_prefix) from config, default is: 1 

W20240112 07:58:07.436120  4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (colorlogtostderr) from config, default is: 1 

W20240112 07:58:07.436161  4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (stop_logging_if_full_disk) from config, default is: 1 

The output directory of logs file exist. 

Save logs information to specified directory. 

E20240112 07:58:07.436368  4201 FileUtils.cpp:333] owner id diff: current process user id is 0, file owner id is 1000 

E20240112 07:58:07.437177  4201 MxStreamManagerDptr.cpp:411] GST_PLUGIN_SCANNER permission is higher than 0550 

E20240112 07:58:07.437268  4201 MxStreamManagerDptr.cpp:448] check GST_PLUGIN_SCANNER failed 

E20240112 07:58:07.437346  4201 MxStreamManagerDptr.cpp:495] handle environment: GST_PLUGIN_SCANNER failed 

E20240112 07:58:07.437426  4201 MxStreamManager.cpp:96] [1001][General Failed] Before creating a pipeline, please set related environment variables. 

The following two methods are available: 

(1) Permanent method: set the environment variable in the ~/.bashrc file of the current user, and run the "source ~/.bashrc" command manually in the current window. 

(2) Temporary method: run the export command to import the required environment variables in the current window. 

Failed to init Stream manager, ret=1001 

本帖最后由 匿名用户2024/01/16 15:31:55 编辑

我要发帖子