フィルターのクリア

I am getting the below error while running the Faster RCNN please help me to understand what is this error represent and how can i fix this. Thank You in Advance.

1 回表示 (過去 30 日間)
Index exceeds matrix dimensions.
Error in vision.internal.cnn.parseInputsFasterRCNN>iGetBoxSizesPerClass (line 337)
minLength = min( min(allBoxes(:,[3 4])) );
Error in vision.internal.cnn.parseInputsFasterRCNN (line 194)
allBoxesPerClass = iGetBoxSizesPerClass(trainingData, params);
Error in trainFasterRCNNObjectDetector (line 239)
vision.internal.cnn.parseInputsFasterRCNN
  1 件のコメント
Anuja Vats
Anuja Vats 2018 年 1 月 11 日
Hi, I face the exact same error as you while training FasterRcnn. Please could you tell me what worked for you?

サインインしてコメントする。

回答 (1 件)

David Ding
David Ding 2017 年 9 月 25 日
Hi,
This error means that in line 337 of the function "iGetBoxSizesPerClass" in the file vision.internal.cnn.parseInputsFasterRCNN, which you can open via:
>> edit vision.internal.cnn.parseInputsFasterRCNN
the indexing inside the "allBoxes" array is greater than the size of that array. This is analogous to "Index Out of Bounds" error.
The best way to debug this is to place a break point at this line and run your program. Your program will stop at this line, and you may examine the size of the "allBoxes" array. If the array's dimensions are not matching the index that you are trying to access, step back and investigate why this is the case.
All the best,
David

カテゴリ

Help Center および File ExchangeResampling Techniques についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by