8.5 Algorithm toolchain class
For toolchain issues, we recommend using the latest version first. For related download resources, please refer to: Download Resources Summary
This section addresses frequently asked questions related to AI model deployment, algorithm development, and toolchain usage on the Horizon RDK platform.
Q1: What information should I provide when seeking technical support for toolchain issues?â
A: To help technical support quickly identify and resolve your issue with the Horizon algorithm toolchain, please provide as much of the following information as possible:
- Target RDK hardware platform and processor architecture: For example, RDK X3 (BPU Bernoulli2), RDK Ultra (BPU Bayes), RDK X5 (BPU Bayes-e), Super100 (BPU Nash-e), Super100P (BPU Nash-m).
- Algorithm toolchain conversion environment information:
horizon_nn
package version (check withpip list | grep horizon
).- Python version (e.g., Py3.8, Py3.10).
- Toolchain Docker image version (if using Docker).
- Original model file: Provide your ONNX model file (or other original format model files).
- Model conversion related files:
- The
yaml
configuration file used for conversion. - Complete
hb_mapper make_model_log
or similar log files (e.g.,hb_mapper_makertbin_log_*.log
). - The calibration dataset used for PTQ quantization (or its generation method and a few sample images).
- Board deployment related files:
- Code snippets or the complete project used for deployment on the board.
- Specific error messages and logs from runtime on the board.
- RDK board system version information (obtain via the
rdkos_info
command).
- Detailed steps to reproduce the issue: Clearly describe the step-by-step process to reproduce your problem.
- Expected vs. actual behavior: Describe what you expected to happen and what actually occurred.
Note: Many common issues may exist in older toolchain versions and have been fixed in newer releases. It is recommended to always use the latest official Docker image and toolchain version.
- Docker image download and mounting references:
- For complex issues, it is recommended to share the complete conversion project, board deployment project, and detailed reproduction steps with technical support via cloud storage or similar means.
Q2: What official resources are recommended for AI algorithm development?â
A:
- RDK User Manual - Algorithm Toolchain Section: The most fundamental and important reference, detailing toolchain installation, usage, features, and parameters.
- General entry: https://developer.d-robotics.cc/rdk_doc/04_toolchain_development (refer to the latest official documentation)
- RDK Model Zoo: Official model example repository, including various AI models ported, optimized, quantized, and deployed on the RDK platform, with code and tutorials.
- Horizon Developer Community - Resource Center: Aggregates various development resources, including toolchains, SDKs, sample code, technical documents, and tutorial videos.
- Community Resource Center: https://developer.d-robotics.cc/resource
Q3: What community algorithm resources and toolchain manuals are available for the RDK X3 platform?â
A: For algorithm development on the RDK X3 platform, refer to the following OpenExplorer community resources:
- RDK X3 Algorithm Toolchain Community Manual (OpenExplorer): https://developer.d-robotics.cc/api/v1/fileData/horizon_xj3_open_explorer_cn_doc/index.html
- RDK X3 OpenExplore Product Release and Resources: https://developer.d-robotics.cc/forumDetail/136488103547258769
Q4: What community algorithm resources and toolchain manuals are available for the RDK Ultra platform?â
A: For algorithm development on the RDK Ultra platform, refer to the following OpenExplorer community resources:
- RDK Ultra Algorithm Toolchain Community Manual (OpenExplorer): https://developer.d-robotics.cc/api/v1/fileData/horizon_j5_open_explorer_cn_doc/index.html
- RDK Ultra OpenExplore Product Release and Resources: https://developer.d-robotics.cc/forumDetail/118363912788935318