Running resnet18 example on the Pico Ultra
Posted: 2025-06-10 17:23
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
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?
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
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?