MindX SDK 应用开发指南(Python)YoloV3案例报错
收藏回复举报
MindX SDK 应用开发指南(Python)YoloV3案例报错
t('forum.solved') 已解决
发表于2023-11-08 21:31:27
0 查看
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20231108 21:25:51.440456 65443 FileUtils.cpp:331] The input file is empty
I20231108 21:25:51.440569 65443 FileUtils.cpp:475] Check Other group permission: Current permission is 4, but required no greater than 0.
E20231108 21:25:51.444252 65443 FileUtils.cpp:411] The file path is empty. (Code = 1029, Message = "Invalid path") 
E20231108 21:25:51.444939 65443 LogManager.hpp:132] Failed to regular file path of logging.conf. (Code = 1004, Message = "Invalid parameter") 
E20231108 21:25:51.445000 65443 GlobalInit.cpp:55] Init log rotate thread failed. (Code = 1004, Message = "Invalid parameter") 
E20231108 21:25:51.445567 65443 FileUtils.cpp:425] Realpath parsing failed. (Code = 1001, Message = "General Failed") 
E20231108 21:25:51.445641 65443 DeviceManager.cpp:31] Failed to regular file path of libmxbase.so. (Code = 1001, Message = "General Failed") 
E20231108 21:25:51.445685 65443 DeviceManager.cpp:145] Check user permission failed, please check the owner of process. (Code = 1001, Message = "General Failed") 
E20231108 21:25:51.445721 65443 DeviceManager.cpp:259] Init device failed. (Code = 1001, Message = "General Failed") 
E20231108 21:25:51.445755 65443 ImageProcessorDptr.hpp:334] ImageProcessor: Failed to set device, please check the state of device. (Code = 1001, Message = "General Failed") 
E20231108 21:25:51.445971 65443 ImageProcessor.cpp:16] Failed to create imageProcessorDptr_ object. (Code = 1007, Message = "memory allocation error")
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
/tmp/ipykernel_65443/1362876918.py in <cell line: 23>()
     21 # 图像解码
     22 # 初始化ImageProcessor对象
---> 23 imageProcessor = ImageProcessor(device_id)
     24 image_path = "test.jpg"
     25 # 读取图片路径进行解码,解码格式为nv12(YUV_SP_420)

RuntimeError: [1007][memory allocation error]

在执行&quot;from mindx.sdk import base&quot;时报错提示缺少.so文件,之后把mxVision文件中相应文件移到了usr/lib中后解决,但在之后的运行后出现了上述报错

我要发帖子