Last active
June 25, 2024 07:38
-
-
Save ZlodeiBaal/847569b24bb338566680ab2a8f22c6b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y python3 python3-dev python3-pip gcc | |
sudo apt-get install -y python3-opencv | |
sudo apt-get install -y python3-numpy | |
sudo apt-get install git | |
sudo apt-get install wget | |
sudo apt-get install python3-setuptools | |
wget https://github.com/rockchip-linux/rknpu2/raw/master/runtime/RK356X/Linux/librknn_api/aarch64/librknnrt.so | |
sudo mv librknnrt.so /usr/lib/librknnrt.so | |
git clone https://github.com/rockchip-linux/rknn-toolkit2.git | |
cd rknn-toolkit2/rknn_toolkit_lite2/packages/ | |
pip3 install rknn_toolkit_lite2-1.5.2-cp39-cp39-linux_aarch64.whl |
Thank You, I tried using the old lib, and it worked for my OPi 5B
Did you use the old lib and 1.6.0 version of the model zoo?
@Askovia did you use the old lib and 1.6.0 version of model zoo?
@ZlodeiBaal do you mean 1.6.0 model zoo version with old lib?
Hi
When I try to run code (or other npu related code) I get:
E RKNN: [22:57:09.806] failed to open rknpu module, need to insmod rknpu dirver!
E RKNN: [22:57:09.806] failed to open rknn device!
E Catch exception when init runtime!
On Orange PI 5, Ubuntu 22.04 downloaded from the OrangePi web site.
@ZlodeiBaal Can you updated the instruction for the new library Rokchip released a while back? It will be of great help.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey following your guide, I successfully ran YoloV8 on RK3568 and RK3588. However recevied below error while doing the same for RK3399PRO Boar (even though it is supported by conversion). Can you please help me with it and advice.