Error using trainFastRCNNObjectDetector
Show older comments
Hi everybody, I tried to use trainFastRCNNObjectDetector function with custom region proposal. --> Extracting region proposals from 1064 training images...done. but I've got following errors:
Error using vision.internal.cnn.fastrcnn.RegionReader (line 146) Unable to find any region proposals to use as positive or negative training samples.
Error in vision.internal.cnn.fastrcnn.TrainingRegionDispatcher (line 63) vision.internal.cnn.fastrcnn.RegionReader(... any suggestions how to avoid this? thank you
Accepted Answer
More Answers (2)
wei zhang
on 22 Dec 2018
I modified the alexnet network according to the method you provided. The first three steps of faster RCNN training were ok, and an error occurred in the fourth step.
Error using vision.internal.cnn.fastrcnn.RegionReader (line 146) Unable to find any region proposals to use as positive or negative training samples.
net = alexnet;
layers = net.Layers;
% Reduce output size of final max pooling layer by increasing pool size to 5.
% This changes the minimum size to 88-by-88.
layers(16) = maxPooling2dLayer(7,'stride',2);
layers(17) = fullyConnectedLayer(4096);
layers(20) = fullyConnectedLayer(4096);
layers(23) = fullyConnectedLayer(2)
layers(end) = classificationLayer()
PositiveOverlapRange and NegativeOverlapRange are the default
AnaM
on 4 Nov 2020
0 votes
Hello!
Did you manage how to solve this issue? I am facing the same problem...
Thanks!!
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!