我尝试使用atc工具转换yolov8后的om模型进行推理,安装了aclruntime和bench工具之后,准备推理。但是报错
有没有人能帮帮我,我也尝试了使用export NPU_HOST_LIB=/usr/local/Ascend/ascend-toolkit/latest/runtime/lib64/stub/,但是还是没有用,依然包这个错。我的ascend版本是6.0.1,我想知道到底该怎么做呀。有没有好心人帮帮我。我在的是ubuntu20.04,x86-64架构,atc -h都是正常的,转换模型也没有报错。
[ERROR]: stub library cannot be used for execution, please check your environment variables and compilation options to make sure you use the correct ACL library. [ACL ERROR] (null) [ERROR] acl init failed [ERROR] device manager init devices failed. ret=100039 [ERROR]: stub library cannot be used for execution, please check your environment variables and compilation options to make sure you use the correct ACL library. [ACL ERROR] (null) [ERROR] acl open device 0 failed [ERROR] create context failed. ret=100039 Traceback (most recent call last): File "detect.py", line 80, in <module> model = InferSession(0, model_path) in __init__ self.session = aclruntime.InferenceSession(self.model_path, self.device_id, self.options) RuntimeError: [100039][Undefined error code]有没有人能帮帮我,我也尝试了使用export NPU_HOST_LIB=/usr/local/Ascend/ascend-toolkit/latest/runtime/lib64/stub/,但是还是没有用,依然包这个错。我的ascend版本是6.0.1,我想知道到底该怎么做呀。有没有好心人帮帮我。我在的是ubuntu20.04,x86-64架构,atc -h都是正常的,转换模型也没有报错。