华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
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]
在执行"from mindx.sdk import base"时报错提示缺少.so文件,之后把mxVision文件中相应文件移到了usr/lib中后解决,但在之后的运行后出现了上述报错
我要发帖子
--------------------------------------------------------------------------- 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]在执行"from mindx.sdk import base"时报错提示缺少.so文件,之后把mxVision文件中相应文件移到了usr/lib中后解决,但在之后的运行后出现了上述报错