Navigation

    全志在线开发者论坛

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

    100ASK V853 pro上部署mobilenet

    V853系列-AI视觉
    2
    5
    99
    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.
    • Y
      yzr1992 LV 3 last edited by

      我希望在100ASK V853 pro板子上部署mobilenet模型,参考全志官方给的yolov5修改了源码,并进行了交叉编译,但发现最终分类结果存在问题,怀疑问题可能出在前处理的过程中,想问一下源码中vnn_pre_process.c和image_utils.c文件中,输入图片是以什么形式输入网络的啊?
      ab9c0ac4-63ff-4057-8470-ca593b8a9b5d-image.png
      70a86d23-fe59-42b7-9ff8-8f9f273814be-image.png

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

        yolo使用的是RGB格式输入,这里的decode_jpeg仅仅是获取文件大小确定文件是否正确,这个格式取决于你的网络的格式

        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          yzr1992 LV 3 @WhycanService last edited by

          @whycanservice 请问一下,我的理解是整个模型的输入是在convertJpegToBmpData这个函数运行的时候,把输入的图像信息存储在bmpData中,同时在decode_jpeg函数的最后,把输入格式的RGBRGBRGB转为了BBBGGGRRR,请问我这里的理解正确吗?如果我需要修改前处理,是否只需在decode_jpeg函数中对bmpData进行前处理即可?

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

            @yzr1992 这个要参考你的网络的输入格式确定

            Y 1 Reply Last reply Reply Quote Share 0
            • Y
              yzr1992 LV 3 @WhycanService last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

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

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