Replies: 2 comments
|
@sunmouren can you check latest git code, I might be already unlock this, and soon we going to make a release so we can check this one out too. cc @fcakyon |
0 replies
|
@sunmouren I can confirm that with the latest SAHI and Ultralytics code, Rockchip RKNN models work! I have verified this on a RK3588 and here are the results. Please note that RKNN INT8 is used along with the below branch: Also, here is my script for reference: from sahi.models.ultralytics import UltralyticsDetectionModel
from sahi.predict import get_sliced_prediction
model = UltralyticsDetectionModel(
model_path="yolo26n_rknn_model",
confidence_threshold=0.25,
)
main_img_path = "small-vehicles1.jpeg"
results = get_sliced_prediction(main_img_path, model)
results.export_visuals(export_dir="results")
print(results.durations_in_seconds)cc: @onuralpszr @fcakyon |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
First, modify the positions of the markers on the image,:
/home/orangepi/.local/lib/python3.8/site-packages/sahi/models/ultralytics.py

and then use the following code to make the prediction:
All reactions