Page 1 of 1

Running resnet18 example on the Pico Ultra

Posted: 2025-06-10 17:23
by RogerTheFox
Hi,

There is some example code with RKNN/rknn-toolkit2/rknn_toolkit_lite2/examples/resnet18 that looks like it was designed to run on the board.
However test.py
has the following imports

Code: Select all

import cv2
import numpy as np
import platform
from synset_label import labels
from rknnlite.api import RKNNLite
I have seen other references on this forum that reference rknn_toolkit_lite2, but all of these seem very ambiguous and confusing.
Is it possible to run this on a buildroot based version of the image on the Pico Ultra?
If so, how do I get these dependencies onto the buildroot image?

Re: Running resnet18 example on the Pico Ultra

Posted: 2025-06-11 9:28
by Crocodile
Hello, the rknn_toolkit_lite2 does not support usage on RV1103/RV1106. In the

Code: Select all

https://github.com/airockchip/rknn-toolkit2
repository, due to the limited resources of RV1103/RV1106 and the special cross-compilation tools used, it is described separately in other documents. The relevant python libraries for rknn_toolkit_lite2 are only available in aarch64 version (RV1103/RV1106 is arm32).