tensil-ai / tensil

Open source machine learning accelerators
https://www.tensil.ai
Other
348 stars 28 forks source link

ImportError: cannot import name '_free_bo' #90

Closed CYGG1123 closed 1 year ago

CYGG1123 commented 1 year ago

Hi Tensil developers, I tried it on my Z2 board according to the PYNQ-Z1 based tutorial in the documentation, and according to the historical chats in Discord, I just replaced the board file in the process of reproducing. But the error in the picture is reported in the first paragraph of the sample code, I don't think this is the reason for my operation, please do I need to change any other settings to make Tensil available on my Z2 board. Looking forward to your reply.

image

CYGG1123 commented 1 year ago

I followed the steps in the tutorial and tried three times, and replaced the data cable and TF card, but it didn't work, and in fact it wasn't their problem. The real solution to this problem is to use the latest PYNQ v2.7 image, I've been developing on PYNQ v2.5 and didn't realize the changes introduced by the new version of PYNQ. Everyone should use the latest version of the software.