Skip to content

How to pass a normalized image float32 through Pynq driver for Hardware Inference for Super resolution? #1048

Closed Answered by auphelia
Arbiter-glitch asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Arbiter-glitch, the dictionary is derived from the model that you used to generate a bitfile with FINN, so you cannot influence the model by changing the dictionary for the PYNQ driver.
It might be helpful for you to have a look into this notebook: https://github.com/Xilinx/finn/blob/main/notebooks/advanced/4_advanced_builder_settings.ipynb
My assumption is that your input was marked as floating point and so the first MultiThreshold node was not converted to HW (FINN support currently integer-only compute) and the input to the node after this MultiThreshold is probably int8. Please have a look at the notebook, because there is a similar scenario shown (in that case image classificatio…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Arbiter-glitch
Comment options

Answer selected by Arbiter-glitch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants