Help trouble shooting my code that uses a voice recognition system to identify fruits in real time
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
So I am trying to pre-train a system to take audio input, convert it to an image, and be able to identify it in real time. I am using the follow example code: https://www.mathworks.com/help/deeplearning/ug/deep-learning-speech-recognition.html
I have edited this code and am curretly stuck on the integrated Neural Network Architecture section. I am getting this following error when I try and run the section:
Error using weightedClassificationLayer
Method 'weightedClassificationLayer' is not defined for class 'weightedClassificationLayer' or is removed from MATLAB's search path.
Error in CodeExample (line 344)
weightedClassificationLayer(classWeights)];
I was wondering if anyone was able to help me trouble shoot this problem? Thanks!
My code is attached
0 commentaires
Réponses (1)
jibrahim
le 21 Juil 2021
Hi Elliot,
That file (weightedClassificationLayer) is not on path by default. It is attached to the example. From the doc, open the example by clicking the button on the top right. You will be taken to a temp directory where you should find that file.
0 commentaires
Voir également
Catégories
En savoir plus sur Speech Recognition dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!