【FAQ】Course-Lab_Finn #1
Yuoto
announced in
Announcements
Replies: 2 comments 23 replies
-
助教 您好, 我嘗試在 docker 環境內添加 ssh public key,發現會有以下錯誤,請問助教有遇過這樣的問題嗎?
我覺得有兩個地方怪怪的:
|
Beta Was this translation helpful? Give feedback.
7 replies
-
助教你好 我在VM ubuntu中的docker 環境內添加 ssh public key時有遇到以下錯誤,"connection closed by remote host",請問要如何處理,謝謝 |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 LAB-FINN Q&A
Feel free to ask questions about LAB-FINN here!
build together 💪.
For more discussions about FINN, please refer to the FINN Official Disscussions. Here we mainly focus on LAB-FINN in HLS course.
Highly Recommended:
Please use the Netron tool and open the .onnx files generated in each stage. This would give you greater details about the notebook python code.
Some Frequently Asked Questions:
Installation
Please use Vivado 2022.1 and Vitis_hls 2022.1, this is currently compatible with the latest FINN v0.8 version.
Ubuntu 20.04 issues
For Ubuntu 20.04 users, some versions of Vivado (e.g. 2020.1) do not officially support Ubuntu 20.04. However, we tested the FINN end2end notebook and didn't run into errors currently.
※ Note that for Ubuntu 20.04, the Vivado GUI installer will run into the error
Exception in thread "SPLASH_LOAD_MESSAGE" java.lang.IllegalStateException: no splash screen available.
To cope with this, we can install in batch mode, see here for more batch mode installation details.
FINN setup guide & Y2k22 bug (Y2k22 bug is only for Vivado version < 2022.1)
Please refer to LAB-FINN setup guide w/wo VM
Jupyter Notebook
There might be errors due to the lack of pynq drivers.
"TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType"
To cope with this, just add the code below
see here for details.
Pynq
"mktemp: failed to create file via template '/tmp/home_dir/.ssh/ssh-copy-id_id.XXXXXXXXXX': No such file or directory"
To resolve this, use the following command line in the FINN docker environment
see here for details.
ssh: Could not resolve hostname (This issue is removed since we employ the PYNQ online renting service)
Please beware of the IP environment variables, since sometimes the value stored inside is not as you expected.
FileNotFoundError: No such file or directory: xxx/output.npy
Please go to pynq board, find the generated driver.py file and execute it with root privilege.
please install pynq directly with
see here for details.
If you're using pynq image version >= 2.7, you might encounter this problem during running
To deal with this, change the user to root (su) and not xilinx
This is due to the same problem mentioned above If you're using pynq image version >= 2.7.
See here for discussion details and explanation.
To deal with this, there are 2 steps,
(switch to pynq deployment directory) (e.g. cd /home/xilinx/finn_dev_huayang/pynq_deployment_apoe927o)
Error with Brevitas/ONNX
Since the newer version of PyTorch removed "enable_onnx_checker", we need to comment line77 in the following file manually:
/path/to/usr/home/.local/lib/python3.8/site-packages/brevitas/export/onnx/finn/manager.py line77
Unless a newer version of Brevitas (currently is 0.7.1, I've checked that their dev branch fixed this issue) is provided, or we'll have to use PyTorch of version <=1.9.
See here for details.
Beta Was this translation helpful? Give feedback.
All reactions