Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train the model .pt or configure arquitecture of Yolov8n to run RKNN 2.3 int8 segmentation #260

Open
HyAgOsK opened this issue Jan 15, 2025 · 0 comments

Comments

@HyAgOsK
Copy link

HyAgOsK commented Jan 15, 2025

Hello, community. How are you all doing? I need some assistance with updating to RKNN 2.3. I was running an application using RKNN 1.6, but I need to update as it is no longer supported. I need to understand how to convert my YOLO ONNX model to RKNN, but I’m experiencing shape-related issues. I believe it’s not just a preprocessing or conversion issue but rather a problem with the model itself.

I noticed that the YOLOv8n.onnx model provided as an example for conversion in the given link has been modified. I need guidance on how to address this and successfully convert and use the model with RKNN 2.3.

When using RKNN 1.6, the performance was very low, around 10-20% utilization of the NPU on the 3588s platform, resulting in poor performance. I am currently using a YOLOv8n segmentation model and urgently need help to resolve these issues.

I’ve already updated the RKNN SDK to 2.6, trained and exported the model, but I’m encountering shape-related errors. I’m unsure if the issue lies with the model I trained or if it’s related to how the YOLOv8n architecture should be modified for proper ONNX export. I need to understand how to adjust the YOLOv8n architecture, as it was done for the provided example, to export it correctly.

https://github.com/airockchip/rknn_model_zoo/tree/main/examples/yolov8_seg

This is an urgent matter, and I would greatly appreciate any assistance or guidance you can provide. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant