Error using vision.internal.cnn.utils.meanStdForTargets - object detection using Faster-RCNN
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all!
I'm trying to detect guns and apply bounding boxes around them by running faster RCNN code with VGG16 and I got this error before training, Did anybody known?
Error using vision.internal.cnn.utils.meanStdForTargets (line 9)
Unable to find any region proposals to use as positive training samples. Lower the first value of
PositiveOverlapRange to increase the number of positive region proposals.
Error in vision.internal.cnn.rcnnDatasetStatistics (line 34)
[info.BoxRegressionMean, info.BoxRegressionStd] =
vision.internal.cnn.utils.meanStdForTargets(out.targets);
Error in trainFasterRCNNObjectDetector>iCollectImageInfo (line 1637)
imageInfo = vision.internal.cnn.rcnnDatasetStatistics(trainingData, rpnLayerGraph,
imageInfoParams);
Error in trainFasterRCNNObjectDetector (line 418)
[imageInfo,trainingData] = iCollectImageInfo(trainingData, fastRCNN, iRPNParamsEndToEnd(params),
params);
Error in VGG16 (line 134)
[detector, info] = trainFasterRCNNObjectDetector(trainingData,lgraph,options, ...
0 件のコメント
回答 (1 件)
Srivardhan Gadila
2021 年 10 月 6 日
PositiveOverlapRange is a two-element vector, used to specify the Bounding box overlap ratios for positive training samples. The vector contains values in the range [0,1]. Region proposals that overlap with ground truth bounding boxes within the specified range are used as positive training samples.
For more information, refer to the description under "PositiveOverlapRange" in the documentation of trainFastRCNNObjectDetector.
As the error message suggests, try lowering the first value. Even then if the error occurs then try contacting Technical Support.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!