Error using trainFastRCNNObjectDetector
显示 更早的评论
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
采纳的回答
更多回答(2 个)
wei zhang
2018-12-22
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
2020-11-4
0 个投票
Hello!
Did you manage how to solve this issue? I am facing the same problem...
Thanks!!
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!