ZhaoqxCN / PYNQ-CNN-ATTEMPT

Some attempts to build CNN on PYNQ.
MIT License
24 stars 6 forks source link

Low accuracy on FPGA #8

Open shobhitt10 opened 2 years ago

shobhitt10 commented 2 years ago

Hello, I tried generating bitstreams through cnn.tcl for mnist classification and mean single convolution: Screenshot (7)

There are no errors in the console apart from few critical clock skew warnings:

image

But, when I use the generated bitstreams, results are very poor:

image

image

Please guide me what am I doing wrong. This is very crucial as I need to accelerate my own cnn for which I am using your work as a reference.

Thanks

ZhaoqxCN commented 2 years ago

The only reason I can imagine is that your clock frequency has been set too high, it should not be higher than 200MHz.

shobhitt10 commented 2 years ago

Thanks for replying @ZhaoqxCN

The only reason I can imagine is that your clock frequency has been set too high, it should not be higher than 200MHz.

I checked the clock of zynq PS, it is set as 50MHz (range is 30-60) similar to what is there in PYNQ-CNN. image

Any other hints?