Error getPreviewFromDatastore using Pointpillarsnetwork for deep-learning of lidar point cloud data

I am doing the example of 'Lidar 3-D Object Detection Using PointPillars Deep Learning'
I got the below error message.
Can i get your advice to pass to next sentence? I am using 2022a.
Unrecognized function or variable 'getPreviewFromDatastore'.
Error in minibatchqueue (line 290)
numVariables = numel(getPreviewFromDatastore(originalDatastore));
Error in trainPointPillarsObjectDetector (line 146)
mbq = minibatchqueue(...
Error in run (line 207)
[detector,info] = trainPointPillarsObjectDetector(cdsAugmented,detector,options);

Answers (1)

Hello KRPark,
‘getPreviewFromDatastore’ is an inbuilt function. The issue you are facing is most likely because you don’t have the necessary toolboxes installed.
Can you please verify if you have installed computer vision, deep learning and lidar toolboxes by checking in Addon’s section in MATLAB. If not, please install them and try again.
I hope this information helps and please reach out for any further issues.
Sincerely
Varun

Categories

Products

Release

R2022a

Asked:

on 4 Jan 2023

Community Treasure Hunt

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

Start Hunting!