Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    Failed to execute script 'pegasus' due to unhandled exception!

    V Series
    4
    11
    4033
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      plustree LV 3 last edited by

      Failed to execute script 'pegasus' due to unhandled exception!

      WhycanService 1 Reply Last reply Reply Quote Share 0
      • WhycanService
        WhycanService LV 8 @plustree last edited by

        @plustree 有没有截图

        P 4 Replies Last reply Reply Quote Share 0
        • P
          plustree LV 3 @WhycanService last edited by

          @whycanservice pegasus import onnx --model yolov5n-sim.onnx --output-data yolov5n-sim.data --output-model yolov5n-sim.json --outputs "350 498 646"

          ......
          W Call onnx.optimizer.optimize fail, skip optimize
          I Current ONNX Model use ir_version 8 opset_version 17
          Traceback (most recent call last):
          File "pegasus.py", line 131, in <module>
          File "pegasus.py", line 112, in main
          File "acuitylib/app/importer/commands.py", line 248, in execute
          File "acuitylib/vsi_nn.py", line 125, in load_onnx
          File "acuitylib/app/importer/import_onnx.py", line 117, in run
          File "acuitylib/converter/onnx/convert_onnx.py", line 62, in init
          File "acuitylib/converter/onnx/convert_onnx.py", line 90, in __build_specified_subgraph
          File "acuitylib/converter/onnx/onnx_util.py", line 400, in build_subgraph
          File "acuitylib/converter/onnx/onnx_util.py", line 400, in <listcomp>
          KeyError: '350'
          [******] Failed to execute script 'pegasus' due to unhandled exception!

          1 Reply Last reply Reply Quote Share 0
          • P
            plustree LV 3 @WhycanService last edited by

            @whycanservice https://v853.docs.aw-ol.com/npu/npu_yolov5/

            1 Reply Last reply Reply Quote Share 0
            • P
              plustree LV 3 @WhycanService last edited by

              @whycanservice yolov5$ pegasus import onnx --model yolov5n-sim.onnx --output-data yolov5n-sim.data --output-model yolov5n-sim.json --outputs "350 498 646"

              1 Reply Last reply Reply Quote Share 0
              • P
                plustree LV 3 @WhycanService last edited by

                @whycanservice 您好,这个问题是参数因为没有写对吗

                WhycanService 1 Reply Last reply Reply Quote Share 0
                • WhycanService
                  WhycanService LV 8 @plustree last edited by

                  @plustree 【Genin】大家碰到过这个问题嘛 pegasus的
                  https://bbs.aw-ol.com/topic/3064/share/6

                  M 1 Reply Last reply Reply Quote Share 0
                  • M
                    misay LV 4 last edited by

                    同样的问题,不知道你解决了吗,希望把后续贴上来

                    1 Reply Last reply Reply Quote Share 0
                    • M
                      masterlin LV 3 last edited by

                      @plustree 您好,请问这个要怎么解决呀,我用yolov5-7.0的模型会有这个问题,6.0没有,但是需要用到7.0的语义分割模型。想请教下如何解决,谢谢大佬

                      1 Reply Last reply Reply Quote Share 0
                      • M
                        masterlin LV 3 @WhycanService last edited by

                        @whycanservice 您好,请问这个要怎么解决呀,我用yolov5-7.0的模型会有这个问题,6.0没有,但是需要用到7.0的语义分割模型。想请教下如何解决,谢谢大佬

                        1 Reply Last reply Reply Quote Share 0
                        • M
                          masterlin LV 3 last edited by

                          @misay 您好,请问这个要怎么解决呀,我用yolov5-7.0的模型会有这个问题,6.0没有,但是需要用到7.0的语义分割模型。想请教下如何解决,谢谢大佬

                          1 Reply Last reply Reply Quote Share 0
                          • 1 / 1
                          • First post
                            Last post

                          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                          行为准则 | 用户协议 | 隐私权政策