Xilinx / finn

Dataflow compiler for QNN inference on FPGAs
https://xilinx.github.io/finn
BSD 3-Clause "New" or "Revised" License
708 stars 225 forks source link

Finn fresh install with quicktest #870

Closed smtalds closed 1 year ago

smtalds commented 1 year ago

Hi , i am trying to install finn on Ubuntu 18.04 and python 3.8.11. When i run quicktest , i got this error :

image

I tried main version. Then i tried other version like v0.8.1 or v0.8 i got this error : I can not solve problems.

image

Thanks for answering.

fpjentzsch commented 1 year ago

Hi, this dependency issue should be solved on the current dev branch. Can you try that one?

smtalds commented 1 year ago

Hi again @fpjentzsch , yes its worked. I can open notebook , but i have still 4xfailed . Is it important ?

image

Thanks for answering , maybe u can pull this branch for fresh installing. If this is not important , we can close issue. Thanks for everything.

fpjentzsch commented 1 year ago

No, these tests are currently marked as "expected fail", so there is no problem.

smtalds commented 1 year ago

Hi again @fpjentzsch , I worked on dev branch now , (this is my first pc). I can run same ipynb file my second pc (i installed finn on feb or before then so i dont know which branch), but i can not run same ipynb my first pc (dev branch.) This is error :

image Can u help me again , thank you sir.

fpjentzsch commented 1 year ago

Hi, I don't know what could be causing this error. Do you have any idea why x is a list in this instance?

The way you describe your setup, it is most likely some kind of version incompatibility. Also, I see that you are exporting to the FINN-ONNX format with export_finn_onnx. On the current dev branch, this input format for FINN has been deprecated in favor of QONNX. Could you try to export using export_qonnx (from brevitas.export)?

smtalds commented 1 year ago

Hi again @fpjentzsch. X is my tensor shape when i print. It's [1,3,416,416]. export_qonnx is going to same function. So , results is same. Do you have any idea for this ?

smtalds commented 1 year ago

I found the answer on https://github.com/Xilinx/finn/issues/853#issuecomment-1640105304. You have to use ishape with torch.rand(ishape).

Ba1tu3han commented 11 months ago

Hi, this dependency issue should be solved on the current dev branch. Can you try that one?

Hello could you explain to me how to use the dev brach? I directly pull the repo that is written in the getting started page. Thanks

smtalds commented 11 months ago

Hi, this dependency issue should be solved on the current dev branch. Can you try that one?

Hello could you explain to me how to use the dev brach? I directly pull the repo that is written in the getting started page. Thanks

You can use this command git clone -b <branchname> <remote-repo-url> , branchname should be "dev"

Ba1tu3han commented 11 months ago

Hi, this dependency issue should be solved on the current dev branch. Can you try that one?

Hello could you explain to me how to use the dev brach? I directly pull the repo that is written in the getting started page. Thanks

You can use this command git clone -b <branchname> <remote-repo-url> , branchname should be "dev"

It works for me, too. Thank you!