- Lidar Toolbox
- Deep Learning Toolbox
- Computer Vision Toolbox
Error while using helperDownloadPandasetData function
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
gaurav
am 23 Jan. 2024
Beantwortet: Gagan Agarwal
am 30 Jan. 2024
While using this program
outputFolder = fullfile(tempdir,'Pandaset');
lidarURL = ['https://ssd.mathworks.com/supportfiles/lidar/data/' ...
'Pandaset_LidarData.tar.gz'];
helperDownloadPandasetData(outputFolder,lidarURL);
I am getting this error but i have installed Lidar toolbox
Unrecognized function or variable 'helperDownloadPandasetData'.
3 Kommentare
Walter Roberson
am 23 Jan. 2024
Try using
openExample('deeplearning_shared/Lidar3DObjectDetectionUsingPointPillarsExample')
Akzeptierte Antwort
Gagan Agarwal
am 30 Jan. 2024
Hi Gaurav,
The issue you are facing is because the 'helperDownloadPandasetData' is not an inbuilt function of the Lidar Toolbox and in the documentation it is explicitly defined as a user defined function at the end of page. I tried to run the code after defining the function and it was working fine.
function helperDownloadPandasetData(outputFolder,lidarURL)
% Download the data set from the given URL to the output folder.
lidarDataTarFile = fullfile(outputFolder,'Pandaset_LidarData.tar.gz');
if ~exist(lidarDataTarFile,'file')
mkdir(outputFolder);
disp('Downloading PandaSet Lidar driving data (5.2 GB)...');
websave(lidarDataTarFile,lidarURL);
untar(lidarDataTarFile,outputFolder);
end
% Extract the file.
if (~exist(fullfile(outputFolder,'Lidar'),'dir'))...
&&(~exist(fullfile(outputFolder,'Cuboids'),'dir'))
untar(lidarDataTarFile,outputFolder);
end
end
For Additional Information please refer to the following documentation:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Labeling, Segmentation, and Detection finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!