g0kul / vcnn

Verilog Convolutional Neural Network on PYNQ
MIT License
27 stars 12 forks source link

Is there any PYNQ application for this CNN module? #1

Open Christeefym opened 6 years ago

Christeefym commented 6 years ago

Thanks for your job. Can I ask how can I use this CNN module on PYNQ? Have you written any applicaiton that can run on linux to use this CNN ? Thank you very much.

g0kul commented 6 years ago

Thanks for your comments. The main Xilinx project (vcnn.xpr) has been targetted to PYNQ. But all the modules should work on any FPGAs.

This project is not complete as mentioned in the README.md. We have only implemented the convolutional layer with ReLU activation. We have written a simple python script in the Jupyter notebook to perform loading data into BRAM of verilog module (Convolutional layer is sandwiched between BRAMs to facilitate pipelining so that other layers can start when there is enough data preseent in the BRAM - intended not complete). The Jupyter python script can be found here https://github.com/gokulprasath7c/vcnn/blob/master/scripts/vcnn/vcnn.ipynb.

Hope this help. Let me know if you need any help. Thanks :-)