GithubHelp home page GithubHelp logo

Comments (3)

BaronLeeLZP avatar BaronLeeLZP commented on June 3, 2024

找不着就对了,大兄得。你从训练到模型转换按下面这套参数搞,问题不大。
rknn.config(reorder_channel='0 1 2', mean_values=[[0, 0, 0]], std_values=[[255, 255, 255]], target_platform = ["rv1109"])

from rockchip_rv1109_rknn-yolov3-demo.

tiger-98 avatar tiger-98 commented on June 3, 2024

兄弟,你这里是设置record_channel为【0,1,2】,那么从你代码里来看是用opencv读取图片,那么输入到模型推理环节的是bgr格式的数据吗?
我如果设置成【2,1,0】,是不是也可以推理?也就是说,执行模型推理的可以是哪些数据格式呢?

from rockchip_rv1109_rknn-yolov3-demo.

BaronLeeLZP avatar BaronLeeLZP commented on June 3, 2024

训练时什么通道顺序,推断时就什么通道顺序,保持一致即可。

from rockchip_rv1109_rknn-yolov3-demo.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.