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

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

Réponse acceptée

Kojiro Saito
Kojiro Saito le 25 Oct 2022
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 commentaire
一秀 近藤
一秀 近藤 le 25 Oct 2022
ご回答ありがとうございます。
yamnetを削除したところスムーズにシステムが作動しました。

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Pretrained Models dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!