Closed arsam96 closed 6 years ago
Hi,
For the first question, in a terminal go to hw/graphical_design_flow/CIFAR-10
. Then make compile_graphical
for compiling a CIFAR-10 example.
For the second question, the report was referring to an older version. "CNN_BLOCK_DESIGN" has now been replaced with a "sketchpad" project which will be auto-generated when you run `make compile_graphical.
Do I need to use the vivado command prompt for the make compile-graphical?
What is the next step step after implementing this command? How do I upload this on my board?
I am getting this error. Kindly help me out with this.
Hi, Sorry this is an error in the very last line of sketchpad.tcl -- it is using the absolute path which is not applicable to your file system. I believe that the sketchpad project has been successfully created in your PC. The only thing you need to do next is to package this project into an IP block -- go to tools -> create and package IP. This IP block is the logic for a CIFAR-10 CNN model.
After the logic model is prepared, do I need to generate the bitstream file?
Yes. Up to this stage the HLS only generates the RTL codes -- which is whatever that have been packaged in the "sketchpad" IP. For bitstream, you need to go to the base project, which is a Vivado project, and import the "sketchpad" IP into it, then synthesise the base project to get a bitstream.
How can we import the sketchpad IP to the vivado project?
In base project, on its block diagram, right click, then add ip? The base project should’ve automatically linked the repo containing sketchpad ip block
I am really thankful to you in helping me out with the implementation of CNN. I have got a question that how can we modify this so that it can identify images taken from a usb camera attached to the pynq?
I want to identify a number plate image taken from my usb camera. Kindly guide me with that. Thanks.
There is one open source project, FINN by Xilinx, that did something very similar to what you described.
https://github.com/Xilinx/BNN-PYNQ/blob/master/notebooks/BNN-from-webcam.ipynb
How can I implement the LENET example shown in your video on Pynq? Thanks in advance
Guide here: https://github.com/awai54st/PYNQ-Classification/tree/master/hw Please be more specific on what step do you need help with.
Hey Erwei!
Just wanted to know If you have used the QNN repository for real time object detection on pynq? I basically want to use the yolo script for real time video detection from my usb camera. Can you help me with the code please?
https://github.com/Xilinx/QNN-MO-PYNQ/tree/master/notebooks
Thanks.
On Sun, May 6, 2018 at 2:44 PM, Erwei Wang notifications@github.com wrote:
Guide here: https://github.com/awai54st/PYNQ-Classification/tree/master/hw Please be more specific on what step do you need help with.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awai54st/PYNQ-Classification/issues/13#issuecomment-386867083, or mute the thread https://github.com/notifications/unsubscribe-auth/AgqLlQbtha7TRUTHSl_NQx_NVbJrsttrks5tvsXzgaJpZM4TTXfq .
Hi, I haven't tried it yet, so unfortunately I cannot provide any guide on how to use that framework. However, I suggest that you have a look at another Xilinx framework named BNN on PYNQ (or FINN). That one also has a real time usb camera-based detection example. Both FINN and QNN are created mainly by the same author. Please try to leave an issue on the QNN repo.
hi in script_design_flow,i can find axi_dma_slave/master and they connect the first SCIG layer and the last FC layer ,but in graphic_design_flow,i cant find them.why ?thank you!
The script design flow library was written more recently, with AXI_DMA_SLAVE/MASTER added to simplify the control of "done" signal. They should both function more or less equally on hardware.
Erwei thanks for your answer, i can achieve the same design without AXI_DMA_SLAVE/MASTER,right? And in script_design_flow ,i didnt find the testbench files. Without those files, can the program be carried out correctly? thank you very much!
Yes, and yes. The testbench is for simulation and debug only, not for hardware synthesis.
I have flashed my sd card with the provided image and followed the script design interface steps for the the vivado. Now I want to know that the Graphical design interface says to use "make compile_graphical" command but where to use it? secondly the pdf report for the project says to open the CNN_BLOCK_DESIGN project in vivado but I can't find any file with such name.