Validation Accuracy Not Showing for trainFastR​CNNObjectD​etector

2 views (last 30 days)
Hi,
I am currently using the following code and I have no idea why the validaton accuracy is not showing.
How to fix it?
valid_label=load('...\valid_label.mat');
dataValid=valid_label.gTruth
[validIMDS, validBXDS]=objectDetectorTrainingData(dataTrain)
validData=combine(validIMDS, validBXDS)
options = trainingOptions('sgdm', ...
'MiniBatchSize', 1, ...
'InitialLearnRate', 1e-3, ...
'MaxEpochs', 10, ...
'CheckpointPath', tempdir,...
'ValidationData',validData, ...
'ValidationFrequency',30, ...j
'Plots','training-progress');
%% Train the model
frcnn S= trainFastRCNNObjectDetector(trainData, lgraph, options, ...
'NegativeOverlapRange',[0 0.3], ...
'PositiveOverlapRange',[0.6 1]);
  1 Comment
Shivam Singh
Shivam Singh on 11 Oct 2021
Hello L,
Can you share your dataset (training and validation) and the full code, so that I can inspect clearly?

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!