AXERA-TECH / ax-samples

Samples code for world class Artificial Intelligence SoCs for computer vision applications.
BSD 3-Clause "New" or "Revised" License
201 stars 41 forks source link

在将yolov5s-seg.onnx编译成axmodel模型时遇到错误 #114

Closed ABC1234-gitup closed 7 months ago

ABC1234-gitup commented 8 months ago

错误是: Traceback (most recent call last): File "", line 53, in guard_context File "", line 951, in compile_ptq_model File "", line 1069, in compile_npu_subgraph File "", line 2400, in test_onepass_ir File "", line 2537, in graph2models File "", line 495, in graph_sched File "", line 441, in graph_ddr ValueError: list.remove(x): x not in list

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "</opt/pulsar2/yamain/main.py>", line 4, in File "", line 282, in File "", line 210, in pulsar2 File "", line 143, in wrapper File "", line 17, in wrapper File "", line 191, in build_error File "", line 11, in wrapper File "", line 473, in build File "", line 991, in compile_ptq_model File "/usr/local/lib/python3.9/contextlib.py", line 137, in exit self.gen.throw(typ, value, traceback) File "", line 55, in guard_context File "", line 67, in error_func yamain.common.error.CodeException: (<ErrorCode.NPUBackendError: 8>, ValueError('list.remove(x): x not in list')) 请问这个错误要怎么解决?

ZHEQIUSHUI commented 8 months ago

进群问哦