Filter löschen
Filter löschen

Code generation error (loadDeepL​earningNet​work)

3 Ansichten (letzte 30 Tage)
Chanhyeok
Chanhyeok am 9 Jul. 2023
Bearbeitet: Sayan Saha am 11 Jul. 2023
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 Kommentare
Ram Kokku
Ram Kokku am 11 Jul. 2023
@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'.
Chanhyeok
Chanhyeok am 11 Jul. 2023
I'm sorry that it doesn't work..

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sayan Saha
Sayan Saha am 11 Jul. 2023
Bearbeitet: Sayan Saha am 11 Jul. 2023
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.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by