python3 sampleYOLOV7NMSONNX.py
[INFO] init resource stage:
[INFO] Init resource success
[INFO] Init model resource start...
Traceback (most recent call last):
File "/sampleYOLOV7NMSONNX/src/sampleYOLOV7NMSONNX.py", line 147, in <module>
net.init_resource()
File "/sampleYOLOV7NMSONNX/src/sampleYOLOV7NMSONNX.py", line 43, in init_resource
self.yolo_model = AclLiteModel(self.yolo_model_path)
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 44, in __init__
self._init_resource()
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 58, in _init_resource
utils.check_ret("acl.mdl.load_from_file", ret)
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_utils.py", line 17, in check_ret
raise Exception("{} failed ret_int={}"
Exception: acl.mdl.load_from_file failed ret_int=500002
Exception ignored in: <function AclLiteModel.__del__ at 0xe7ffa685e820>
Traceback (most recent call last):
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 445, in __del__
self.destroy()
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 426, in destroy
if self._is_destroyed:
AttributeError: 'AclLiteModel' object has no attribute '_is_destroyed'
[INFO] dvpp resource release success
[INFO] acl resource release all resource
[INFO] acl resource release stream
[INFO] acl resource release context
[INFO] Reset acl device 0
[INFO] Release acl resource success
转换了一个自己训练的yolo模型,然后报错了
[INFO] init resource stage:
[INFO] Init resource success
[INFO] Init model resource start...
Traceback (most recent call last):
File "/sampleYOLOV7NMSONNX/src/sampleYOLOV7NMSONNX.py", line 147, in <module>
net.init_resource()
File "/sampleYOLOV7NMSONNX/src/sampleYOLOV7NMSONNX.py", line 43, in init_resource
self.yolo_model = AclLiteModel(self.yolo_model_path)
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 44, in __init__
self._init_resource()
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 58, in _init_resource
utils.check_ret("acl.mdl.load_from_file", ret)
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_utils.py", line 17, in check_ret
raise Exception("{} failed ret_int={}"
Exception: acl.mdl.load_from_file failed ret_int=500002
Exception ignored in: <function AclLiteModel.__del__ at 0xe7ffa685e820>
Traceback (most recent call last):
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 445, in __del__
self.destroy()
File "/sampleYOLOV7NMSONNX/src/$/root/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 426, in destroy
if self._is_destroyed:
AttributeError: 'AclLiteModel' object has no attribute '_is_destroyed'
[INFO] dvpp resource release success
[INFO] acl resource release all resource
[INFO] acl resource release stream
[INFO] acl resource release context
[INFO] Reset acl device 0
[INFO] Release acl resource success
转换了一个自己训练的yolo模型,然后报错了