que about training images from cifar10data
1 次查看(过去 30 天)
显示 更早的评论
I currently have a problem
I RUN THE CODE BUT IN THIS LINE THERE IS A PROBLEM:
Train an R-CNN object detector. This will take several minutes.
rcnn = trainRCNNObjectDetector(AcneAndBeautySpots, cifar10Net, options)
% rcnn = trainRCNNObjectDetector(trainingImages,cifar10Net , options, 'NegativeOverlapRange', [0 0.3], 'PositiveOverlapRange',[0.5 1])
I TRIED 2 KIND OF LINE BUT BOTH DONT WORK
THE ERROR IS:
>> thank you very match:)
Warning: Unable to find any region proposals to use as positive training samples in these images:
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_1.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_2.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_3.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_4.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_5.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_6.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_7.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_8.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_9.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_10.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_11.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_12.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_13.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_14.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_15.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_16.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_17.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_18.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_19.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_20.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_21.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_22.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_23.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_24.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_25.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_26.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_27.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_28.png
They will not be used for training.
> In vision.internal.rcnn.TrainingImageRegionDatastore (line 118)
In rcnnObjectDetector/createTrainingDispatcher (line 933)
In rcnnObjectDetector.train (line 223)
In trainRCNNObjectDetector (line 280)
In MyRCNNObjectDetectionDemo (line 398)
Warning: Unable to find any region proposals to use as negative training samples in these images:
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_1.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_2.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_3.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_4.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_5.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_6.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_7.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_8.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_9.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_10.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_11.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_12.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_13.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_14.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_15.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_16.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_17.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_18.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_19.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_20.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_21.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_22.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_23.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_24.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_25.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_26.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_27.png
C:\Users\תמר
ווסה\Desktop\study_lest_year_ba\final_project\labeled_image\labeled_3.6\labeled_3.6_8\PixelLabelData\Label_28.png
> In vision.internal.rcnn.TrainingImageRegionDatastore (line 128)
In rcnnObjectDetector/createTrainingDispatcher (line 933)
In rcnnObjectDetector.train (line 223)
In trainRCNNObjectDetector (line 280)
In MyRCNNObjectDetectionDemo (line 398)
Error using vision.internal.rcnn.TrainingImageRegionDatastore (line 138)
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 rcnnObjectDetector/createTrainingDispatcher (line 933)
dispatcher = vision.internal.rcnn.TrainingImageRegionDatastore(...
Error in rcnnObjectDetector.train (line 223)
dispatcher = createTrainingDispatcher(detector, trainingData, regionProposals, opts,
params.InputSize, params);
Error in trainRCNNObjectDetector (line 280)
[detector, ~, info] = rcnnObjectDetector.train(trainingData, lgraphOrLayers, options, params);
Error in MyRCNNObjectDetectionDemo (line 398)
rcnn = trainRCNNObjectDetector(AcneAndBeautySpots, cifar10Net, options)
3 个评论
回答(1 个)
Sai Bhargav Avula
2019-11-4
Hi,
The error is because your region proposal method is producing ROIs that are too small to process. In the following link Birju gives a good explanantion.
Hope this helps !
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!