Unrecognized function or variable 'doTraining'.

3 vues (au cours des 30 derniers jours)
gaurav
gaurav le 19 Fév 2024
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

Réponse acceptée

Kojiro Saito
Kojiro Saito le 19 Fév 2024
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;

Plus de réponses (0)

Catégories

En savoir plus sur Labeling, Segmentation, and Detection dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by