请问怎么转onnx到rv1106,类似例子中给的1-3-85-80-80的输出 #11160
Closed
+305
−46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
官方给的例子,转出来是1-255-80-80,但是rv1106不支持ncwh的输出,我讲1-255-80-80 reshape到1-3-85-80-80,但是结果不对
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
📊 Key Changes
export.py
to support RKNN-targeted exports by inserting RKNN-specific layers and adjustments to the YOLOv5 focus/SPPF blocks and final layer outputs.README_rkopt.md
, providing instructions and details on the optimizations for RKNN.models/common.py
and other related files to the Focus, SPP, and SPPF blocks including changes to underlying operations and activation functions for RKNN compatibility.RKNN_model_hack
is introduced to activate RKNN-specific changes.🎯 Purpose & Impact
README_rkopt.md
helps users understand how to properly export and optimize their models using the provided scripts and underlying code changes.🌟 Summary
This PR adds support and optimization for exporting YOLOv5 models to RKNN, aimed at boosting performance on Rockchip NPU accelerated devices. 🚀📲