[INFO] The sample starts to run
[INFO] init resource stage:
[INFO] Init resource success
[INFO] Init model resource start...
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/dbc/samples/inference/modelInference/sampleCrowdCounting/src/sampleCrowdCounting.py", line 110, in <module>
net.init_resource()
File "/usr/local/miniconda3/envs/dbc/samples/inference/modelInference/sampleCrowdCounting/src/sampleCrowdCounting.py", line 29, in init_resource
self.model = AclLiteModel(self.model_path)
File "/usr/local/Ascend/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 44, in __init__
self._init_resource()
File "/usr/local/Ascend/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 58, in _init_resource
utils.check_ret("acl.mdl.load_from_file", ret)
File "/usr/local/Ascend/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 0xe7ffaf3aa430>
Traceback (most recent call last):
File "/usr/local/Ascend/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 445, in __del__
self.destroy()
File "/usr/local/Ascend/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
[INFO] The program runs failed
使用的是香橙派的开发板orange ai,转换命令使用的是310,然后报错,是不是需要转换为310b型号才行
[INFO] init resource stage:
[INFO] Init resource success
[INFO] Init model resource start...
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/dbc/samples/inference/modelInference/sampleCrowdCounting/src/sampleCrowdCounting.py", line 110, in <module>
net.init_resource()
File "/usr/local/miniconda3/envs/dbc/samples/inference/modelInference/sampleCrowdCounting/src/sampleCrowdCounting.py", line 29, in init_resource
self.model = AclLiteModel(self.model_path)
File "/usr/local/Ascend/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 44, in __init__
self._init_resource()
File "/usr/local/Ascend/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 58, in _init_resource
utils.check_ret("acl.mdl.load_from_file", ret)
File "/usr/local/Ascend/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 0xe7ffaf3aa430>
Traceback (most recent call last):
File "/usr/local/Ascend/ascend-toolkit/latest/thirdpart/python/acllite_model.py", line 445, in __del__
self.destroy()
File "/usr/local/Ascend/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
[INFO] The program runs failed
使用的是香橙派的开发板orange ai,转换命令使用的是310,然后报错,是不是需要转换为310b型号才行