Error while using helperDown​loadPandas​etData function

조회 수: 7 (최근 30일)
gaurav
gaurav 2024년 1월 23일
답변: Gagan Agarwal 2024년 1월 30일
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
gaurav
gaurav 2024년 1월 23일
I already have all this installed
Walter Roberson
Walter Roberson 2024년 1월 23일
Try using
openExample('deeplearning_shared/Lidar3DObjectDetectionUsingPointPillarsExample')

댓글을 달려면 로그인하십시오.

채택된 답변

Gagan Agarwal
Gagan Agarwal 2024년 1월 30일
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개)

카테고리

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