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!