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

利用cube-ai生成c代码移植问题 #11

Open
smallzhi2024 opened this issue Oct 9, 2024 · 2 comments
Open

利用cube-ai生成c代码移植问题 #11

smallzhi2024 opened this issue Oct 9, 2024 · 2 comments

Comments

@smallzhi2024
Copy link

大佬你好,我想请问一下如何利用cubeai生成的神经网络代码移植到gd32w515开发板上,想问问您需要修改什么地方,麻烦你了

@HomiKetalys
Copy link
Owner

HomiKetalys commented Oct 9, 2024

@smallzhi2024 你指的是你用cubeai生成的以下文件吗
image
这些文件的使用需要你自己声明并初始化网络,定义内存,以及编写网络的输入输出。你可以参考common_utils/c_codes/ai_model.c中宏定义了X_CUBE_AI部分的程序的写法。如果你要使用本模型库生成代码,你需要将Edge_AI/ai_core/Lib/NetworkRuntime.lib换成Cortex-M33的版本,你可以在类似

X-CUBE-AI/8.0.1/Middlewares/ST/AI/Lib/MDK/ARMCortexM33

的路径中找到它

@smallzhi2024
Copy link
Author

好的 大佬,我先去看看 ,谢谢您!

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

2 participants