I am using an RK3588 platform and Python 3.8.10, with rknn_toolkit_lite2-2.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl installed.
I also downloaded the librknnrt.so file from the following link:
https://github.com/rockchip-linux/rknpu2/raw/master/runtime/RK3588/Linux/librknn_api/aarch64/librknnrt.so
Then, I placed it in /usr/lib/ using the following command:
sudo mv librknnrt.so /usr/lib/librknnrt.so
However, when I try to run the YOLO example, I encounter the following error.
/rknn_model_zoo/examples/yolov8/python$ python3 yolov8.py --model_path /home/linaro/yolov8.rknn --target rk3588 --img_show
W rknn-toolkit-lite2 version: 2.3.0
--> Init runtime environment
E Catch exception when init runtime!
E Traceback (most recent call last):
File "/home/linaro/.local/lib/python3.11/site-packages/rknnlite/api/rknn_lite.py", line 148, in init_runtime
self.rknn_runtime = RKNNRuntime(root_dir=self.root_dir, target=target, device_id=device_id,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "rknnlite/api/rknn_runtime.py", line 363, in rknnlite.api.rknn_runtime.RKNNRuntime.__init__
File "rknnlite/api/rknn_runtime.py", line 607, in rknnlite.api.rknn_runtime.RKNNRuntime._load_library
File "rknnlite/api/rknn_runtime.py", line 602, in rknnlite.api.rknn_runtime.RKNNRuntime._get_rknn_api_lib_path
Exception: Unsupported run platform: Linux aarch64
Init runtime environment failed
Os : Debian GNU/Linux 12
Is there any solution for this issue?
I am using an RK3588 platform and Python 3.8.10, with rknn_toolkit_lite2-2.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl installed.
I also downloaded the librknnrt.so file from the following link:
https://github.com/rockchip-linux/rknpu2/raw/master/runtime/RK3588/Linux/librknn_api/aarch64/librknnrt.so
Then, I placed it in /usr/lib/ using the following command:
However, when I try to run the YOLO example, I encounter the following error.
Os : Debian GNU/Linux 12
Is there any solution for this issue?