finn icon indicating copy to clipboard operation
finn copied to clipboard

local variable 'pad_in' referenced before assignment

Open Ba1tu3han opened this issue 1 year ago • 0 comments

Prerequisites

Please make sure to check off these prerequisites before submitting a bug report.

  • [ +] Test that the bug appears on the current version of the dev-branch. Make sure to include the commit hash of the commit you checked out.
  • [ +] Check that the issue hasn't already been reported, by checking the currently open issues.
  • [ +] If there are steps to reproduce the problem, make sure to write them down below.
  • [ ] If relevant, please include the ONNX files, which were created directly before and/or after the bug.

Quick summary

I run the CNV model with given 2W2A config file https://github.com/Xilinx/finn/blob/main/notebooks/advanced/cnv-w2a2_folding_config.json then encountered this issue which is shown in the image below local variable 'pad_in' referenced before assignment. I also change PE and SIMD parameters however I have the same issue

I run the same procedure with 1W1A without any problem. I just changed the config file and ensured it is fit to HW.

Could you check the source code?

image

Ba1tu3han avatar Jun 23 '24 19:06 Ba1tu3han