Xilinx / finn-examples

Dataflow QNN inference accelerator examples on FPGAs
BSD 3-Clause "New" or "Revised" License
181 stars 59 forks source link

How to use bincop-cnv (mask detection) on Pynq-Z2 (version 2.7)? #39

Open pinootto opened 2 years ago

pinootto commented 2 years ago

I have installed finn-examples on Pynq-Z2 (version 2.7), but I cannot run the notebook 3_binarycop_mask_detection.ipynb

The error is: Exception: Bitfile for model = bincop-cnv target platform = Pynq-Z2 not found. Looked in: ['/usr/local/share/pynq-venv/lib/python3.8/site-packages/finn_examples/bitfiles/Pynq-Z2/bincop-cnv.bit', '/usr/local/share/pynq-venv/lib/python3.8/site-packages/finn_examples/bitfiles/bitfiles.zip.d/Pynq-Z2/bincop-cnv.bit']

Is there a way to run this example on Pynq-Z2 too?

mmrahorovic commented 1 year ago

Hi @pinootto, great question! Since we don't provide the build script for the BinaryCoP facemask detection notebook example, you cannot rebuild this model for the Pynq-Z2 board. The bitfile that is provided is targeting the Pynq-Z1 board.