How to pass a normalized image float32 through Pynq driver for Hardware Inference for Super resolution? #1048
-
I was using FINN flow for super resolution. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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…