MATLAB Answers

que about training images from cifar10data

6 ビュー (過去 30 日間)
neora asulin
neora asulin 2019 年 9 月 10 日
回答済み: Sai Bhargav Avula 2019 年 11 月 4 日
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 件のコメント

Walter Roberson
Walter Roberson 2019 年 9 月 10 日
Did you try following the suggestion,
Lower the first value of
PositiveOverlapRange to increase the number of positive region proposals.
neora asulin
neora asulin 2019 年 9 月 10 日
yes
but it dont work
neora asulin
neora asulin 2019 年 9 月 10 日
i tke table with 2 columns 1 for location images and secont the hight and width and max hight...(like a array with 4 numbers)
but it does not work still

サインイン to comment.

回答 (1 件)

Sai Bhargav Avula
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 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。


Translated by