Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer Brevitas CNV model on Non-PYNQ board #76

Open
abedbaltaji opened this issue Feb 14, 2024 · 0 comments
Open

Infer Brevitas CNV model on Non-PYNQ board #76

abedbaltaji opened this issue Feb 14, 2024 · 0 comments

Comments

@abedbaltaji
Copy link

Hello,

I have generated a stitched IP using FINN builder of the Brevitas cnv-w2a2 pre-trained model using the notebook under "finn/notebookes/advanced/4_advanced_builder_settings.ipynb", then implemented it on a FPGA target board (NOT PYNQ) which has been connected to communication blocks to read/write to the finn design.

My question is that how should I prepare/feed the input data concerning its folding shape and packaging its inner most dimension in order to obtain a ".dat" file? I got inspired from the data preparation function "custom_step_gen_tb_and_io", that I found in the "finn/tutorials/fpga_flow/build.py" script, but it is for the MNIST classification (tfc-w1a1), but I did not succeed to adapt it for this model (CNV).

Your help would be appreciated!

@abedbaltaji abedbaltaji changed the title Infer Model CNV model on Non-PYNQ board Infer Brevitas CNV model on Non-PYNQ board Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant