Unrecognized function or variable 'doTraining'.

1 次查看(过去 30 天)
if doTraining
[detector,info] = trainPointPillarsObjectDetector(cdsAugmented,detector,options);
else
pretrainedDetector = load('pretrainedPointPillarsDetector.mat','detector');
detector = pretrainedDetector.detector;
end
while using this code got this error "Unrecognized function or variable 'doTraining'."
how to define do Training

采纳的回答

Kojiro Saito
Kojiro Saito 2024-2-19
doTraining = false;
exists in the first line of the example (Lidar 3-D Object Detection Using PointPillars Deep Learning).
But as mentioned later,
Use the trainPointPillarsObjectDetector function to train the PointPillars object detector if doTraining is "true". Otherwise, load a pretrained detector.
You need to change the value of this to true so that it will do training.
doTraining = true;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labeling, Segmentation, and Detection 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by