書き込み権限のあるディレクトリについて

19 views (last 30 days)
HY
HY on 2 Oct 2020
Commented: HY on 2 Oct 2020
こんにちは。
ビデオラベラーでワークスペースにインポートしたgTruthデータをtableに変換させるために trainingDataTable = objectDetectorTrainingData(gTruth); このコードを使用して実行したところ以下のようなエラーが発生しました。
これまでは、他のコードは正常に実行できていましたが、この処理だけはエラーが発生してしまいます。どのように対処したら良いのでしょうか。
よろしくお願いいたします。
エラー: vision.internal.inputValidation.checkWritePermissions (line 9)
'C:\Users\××××\Desktop\MATLAB' は書き込み権限のあるディレクトリにする必要があります。
'WriteLocation' は書き込み権限のあるディレクトリでなければなりません。
エラー: vision.internal.trainingData.checkGroundTruthSources (line 26)
vision.internal.inputValidation.checkWritePermissions(writeLocation);
エラー: objectDetectorTrainingData>validateInputs (line 188)
vision.internal.trainingData.checkGroundTruthSources(gTruth, writeParams.Location, samplingFactor);
エラー: objectDetectorTrainingData (line 146)
[gTruth, samplingFactor, writeParams, isVideoOrCustomSource, labelNames] = validateInputs(varargin{:});
エラー: Untitled2 (line 4)
trainingDataTable = objectDetectorTrainingData(gTruth);

Accepted Answer

Kenta
Kenta on 2 Oct 2020
こんにちは、ディレクトリを普段データを保存したりしているところに変えてはどうでしょう?USBのところでもよいです。
  2 Comments
HY
HY on 2 Oct 2020
ご回答ありがとうございます。
USBに変更したらうまく実行できました!ありがとうございます。
できればいつも保存しているところで実行したいのですが、なぜできないのでしょう...
HY
HY on 2 Oct 2020
フォルダを作成したらできました!ありがとうございました。

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!