Coder Social home page Coder Social logo

Comments (4)

dhm2013724 avatar dhm2013724 commented on September 23, 2024

The python code was written by following the C++ codes in SDK. And, I just maunally set every input/output feature maps' base address by simualting the input and output process in one buffer like heap and stack.

from yolov2_xilinx_fpga.

ms0488638 avatar ms0488638 commented on September 23, 2024

And, I just maunally set every input/output feature maps' base address by simualting the input and output process in one buffer like heap and stack.

Yes, I am curious how do yo decide the size of the buffer.

The size is different between Python and C++ SDK.

from yolov2_xilinx_fpga.

dhm2013724 avatar dhm2013724 commented on September 23, 2024

Really? Oh, I'm not familar with the python version. But in SDK version, just follow the forward network direction, I considered every layer's input and output, put input in the top of the buffer, and put output in the bottom of the buffer. When it turns to next layer, just in turn. In addition, if it comes to route layer, multi-layers' input and output should be considered.

from yolov2_xilinx_fpga.

dhm2013724 avatar dhm2013724 commented on September 23, 2024

And then, find the maximum buffer size of the whole network, this is the final buffer size of memory buffer.

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.