Xilinx / BNN-PYNQ

Quantized Neural Networks (QNNs) on PYNQ
https://xilinx.github.io/finn/
BSD 3-Clause "New" or "Revised" License
671 stars 306 forks source link

Real Time Object Detection #137

Closed addint96 closed 3 years ago

addint96 commented 4 years ago

Hello, i am trying to real time detection in pynq Z2, but unfortunately i only get 5 FPS between read, detector and write the frame. I was looking for a answer and i found in another issue to Increase the CNV classification speed by increasing the per-layer parallelism . However, i would like to know if is it possible to connect the block to an AXI stream and if a IP to convert to the cifar10 formal would be a help too or not. All help is welcome.

Thanks in advance

giuliogamba commented 4 years ago

Hi, it's possible to perform the preprocessing, which is currently done in SW, in a Vivado IP. You can have a look at the preprocessing functions called in the example code and write an the HLS code to accelerate that tranformation in PL