Coder Social home page Coder Social logo

Comments (6)

dhm2013724 avatar dhm2013724 commented on June 21, 2024

代码中有五个bin文件:
其中 buf的有两个,Weight_buf(yolov2_w_reorg_bn_ap16_short16.bin)、Beta_buf ( yolov2_b_ap16_short16.bin ) ,这两个文件是什么文件,有什么用呢?
其中还有三个,inputQ(yolov2_bn_input_maxQ_24.bin )、weightQ(yolov2_w_reorg_bn_ap16_maxQ_23.bin)、betaQ(yolov2_b_ap16_maxQ_23.bin),这三个文件是什么文件,有什么作用呢?

yolo的权重文件只有一个,就是 .weight,如(yolov2.weights),上面的五个文件跟yolo的.weight是什么关系呢?

最近在赶deadline,时间比较紧,前面Weight_buf和Beta_buf对应的就是weight和bias,只是这边已经把每层对应的BN也合并进去了,是先合并进去得到的float32位的Weight和Bias,然后再对其进行动态定点16位的量化,后面是对应的量化参数(就是16位定点的时候小数点放哪里),分别对应输入输出、Weight和Bias,所有的代码应该会在最近全部放在github上,从如何从Darknet取参数到最终优化的都有,之前忙着做实验,目前只要写论文了,应该会每天上来写一写,可能会重新开个project,到时候会在首页贴个链接

from yolov2_xilinx_fpga.

dhm2013724 avatar dhm2013724 commented on June 21, 2024

Hello, I added input parallelism to your design, using the weights and offset files you provided to test, but not the target. Is there a problem in my design, or do other processing when storing your weight file after storage. I can't read parameters correctly when I change the degree of parallelism

Yes, actually it still need weight re-arrangement in order to increase the burst length of AXI transmission. Tonight, I will try to update the PYNQ version first. The full process will be described in another project. This project is only responsible for PYNQ.

from yolov2_xilinx_fpga.

Thilanka97 avatar Thilanka97 commented on June 21, 2024

@Johnny-Lin @dhm2013724 @wu-y
Hey
I am trying to understand how this implementation works and I do not understand what weight offset and beta_offset is. Also What it does?

Also is inputQ, outputQ, weightQ and betaQ mean quantized input, quantized output, quantized weight and quantized beta? do you input both quantized weight, beta files and 32fp weight, beta files to the design? (I am confused because there are number of weight and beta files) what is the difference between weight and weightQ? how are they used in the design ?

I am still a beginner could you briefly tell me what these mean in the code? Atleast some of them. would be a great help :)
Thanks in advance!

from yolov2_xilinx_fpga.

evanlee2021 avatar evanlee2021 commented on June 21, 2024

Hello, I added input parallelism to your design, using the weights and offset files you provided to test, but not the target. Is there a problem in my design, or do other processing when storing your weight file after storage. I can't read parameters correctly when I change the degree of parallelism

Yes, actually it still need weight re-arrangement in order to increase the burst length of AXI transmission. Tonight, I will try to update the PYNQ version first. The full process will be described in another project. This project is only responsible for PYNQ.

您好,请问您这个项目中提到的有完整过程的另一个project在哪里呢,能麻烦您附上链接吗?

from yolov2_xilinx_fpga.

calvinee avatar calvinee commented on June 21, 2024

请问这里如何并入每层对应的BN参数?

from yolov2_xilinx_fpga.

TSeminent avatar TSeminent commented on June 21, 2024

Hello, I added input parallelism to your design, using the weights and offset files you provided to test, but not the target. Is there a problem in my design, or do other processing when storing your weight file after storage. I can't read parameters correctly when I change the degree of parallelism

Yes, actually it still need weight re-arrangement in order to increase the burst length of AXI transmission. Tonight, I will try to update the PYNQ version first. The full process will be described in another project. This project is only responsible for PYNQ.

您好,请问您这个项目中提到的有完整过程的另一个project在哪里呢,能麻烦您附上链接吗?

同问

from yolov2_xilinx_fpga.

Related Issues (20)

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.