システムが途中から実行されなくなる件について

조회 수: 1 (최근 30일)
一秀 近藤
一秀 近藤 2022년 10월 24일
댓글: 一秀 近藤 2022년 10월 25일
音声をデバイスリーダーで入力し、そのデータをwavファイル化を行いました。そしてワークスペースにインポートしパワースペクトルの計算を行うシステムを作成しました。
しかし、ワークスペースに音声データをベクトルの形で入力することはできたのですが、その先のパワースペクトル計算の実行がされずにシステムが終了してしまいます。簡単なことで申し訳ございません。ご教授いただければ幸いです。

채택된 답변

Kojiro Saito
Kojiro Saito 2022년 10월 25일
soundsave1.mlxにyamnetがインストールされていないというエラーが出ています。
使い方によるエラー yamnet
Unable to access the pre-trained network. Make sure the required files are installed. Download and unzip the zip file to a location on the MATLAB
path.
エラー: classifySound (行 148)
net = yamnet();
yamnet のドキュメントにあるように、yamnet.zipのダウンロードとMATLAB検索パスへの追加が必要です。
downloadFolder = fullfile(tempdir,'YAMNetDownload');
loc = websave(downloadFolder,'https://ssd.mathworks.com/supportfiles/audio/yamnet.zip');
YAMNetLocation = tempdir;
unzip(loc,YAMNetLocation)
addpath(fullfile(YAMNetLocation,'yamnet'))
  댓글 수: 1
一秀 近藤
一秀 近藤 2022년 10월 25일
ご回答ありがとうございます。
yamnetを削除したところスムーズにシステムが作動しました。

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Pretrained Models에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!