Help trouble shooting my code that uses a voice recognition system to identify fruits in real time
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
jibrahim
2021년 7월 21일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Speech Recognition에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!