Code generation error (loadDeepLearningNetwork)
2 次查看(过去 30 天)
显示 更早的评论
I saw the example and followed.
However, I would like to replace my newly created resnet50 neural network, not the pre-trained resnet50 neural network provided by Matlab. I actually made it, and it works well on the Matlb. However, when deploying to Raspberry Pi, loadDeeplelearningnetwork function keeps failing. What's the cause?
Does it matter if my gpu is AMD? Matlab coder is NVIDIA compatible..
this is my function
this is deploy function
errors
4 个评论
Ram Kokku
2023-7-11
@Chanhyeok, The coders will use the second argument as the recommended name for the C++ class generated for the deep learning network. you can give a simple dummy character array, preferable a single word - for example, 'MyDLClass' or 'my_dummy_string'.
you can find more about this argument here : https://www.mathworks.com/help/gpucoder/ref/coder.loaddeeplearningnetwork.html#d124e9416
采纳的回答
Sayan Saha
2023-7-11
编辑:Sayan Saha
2023-7-11
Hello @Chanhyeok, are you trying to codegen in a folder that has non-ASCII characters in it's path? If so, can you change to a directory that has only ASCII characters in it's full-path and see if that resolves the issue. Note that codegen is not currently supported for non-ASCII characters https://www.mathworks.com/help/coder/ug/code-generation-for-characters.html.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with GPU Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!