erro using helperCIFAR10Data
7 views (last 30 days)
Show older comments
hi, when I am running the code ( Object Detection Using Deep Learning ) I see this error!! it use to work but have no idea why it doesn't now!! Im using MATLAB 2018a
Error using reshape Product of known dimensions, 3072, not divisible into total number of elements, 1. Error in helperCIFAR10Data>loadBatchAsFourDimensionalArray (line 53)
3 Comments
cao kaifa
on 22 Jul 2018
when I am running the code ( Object Detection Using Deep Learning ) I see this error "erro using helperCIFAR10Data"! Because you lack this file "helperCIFAR10Data",I've already given this file here.
Answers (3)
kalson
on 21 Nov 2018
Add in the path combing the file, "xxxxxxxx\MATLAB\R2018b\examples\deeplearning_shared\main\xxxxxxx".
0 Comments
Helen Victoria
on 13 Dec 2018
error using helperCIFAR10Data it shows undefined variable i have added the path as well,later i found helpercifardata.m is not present in the vision tool box itself is there any replacement for this .m file which i can use.I am working in 2018b version.kindly help
2 Comments
Walter Roberson
on 13 Dec 2018
In R2018b it is at
examples/deeplearning_shared/main/helperCIFAR10Data.m
examples/nnet/main/helperCIFAR10Data.m
neora asulin
on 9 Sep 2019
HI
I DIDNT FIND THE:''helperCIFAR10Data" IN examples/deeplearning_shared/main/helperCIFAR10Data.m
MOREOVER I DONT HAVE deeplearning_shared FOLDER
WHAT I NEED TO DOWNLOAD?
THE CODE DOESNT RUN
THE ERROR IS:Undefined variable "helperCIFAR10Data" or class "helperCIFAR10Data.download".
THANKS
3 Comments
neora asulin
on 9 Sep 2019
hi i uses i2018b
I was able to solve this problem. THANK
I currently have another 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:
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)
>> thank you very match:)
Satheesh Appukuttan
on 6 Nov 2019
I am facing a similar issue that "Unable to resolve the name helperCIFAR10Data.download.". Those file is not under below directory even though mathlab says it is there. How did you resolve it ?
>> fullfile(matlabroot,'examples', 'vision', 'main', 'helperCIFAR10Data.m')
ans =
'/Applications/MATLAB_R2019b.app/examples/vision/main/helperCIFAR10Data.m'
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!