フィルターのクリア

Error while augmenting lidar data

2 ビュー (過去 30 日間)
gaurav
gaurav 2024 年 2 月 8 日
回答済み: Pooja Kumari 2024 年 2 月 8 日
while using the code :
cdsAugmented = transform(cdsAugmented,@(x)augmentData(x));
augData = read(cdsAugmented);
augptCld = augData{1,1};
augLabels = augData{1,2};
augClass = augData{1,3};
labelsother = augLabels(augClass=='other',:);
labelsPedestrian = augLabels(augClass=='Pedestrian',:);
helperDisplay3DBoxesOverlaidPointCloud(augptCld.Location,labelsother,'green',...
labelsPedestrian,'magenta','After Data Augmentation');
I am getting this error:
Invalid transform function defined on datastore.
Caused by:
Undefined function 'augmentData' for input arguments of type 'cell'.

採用された回答

Pooja Kumari
Pooja Kumari 2024 年 2 月 8 日
Hi,
I am getting "Unrecognized function or variable 'cdsAugmented'." error while running the provided code.
cdsAugmented = transform(cdsAugmented,@(x)augmentData(x));
Unrecognized function or variable 'cdsAugmented'.
augData = read(cdsAugmented);
augptCld = augData{1,1};
augLabels = augData{1,2};
augClass = augData{1,3};
labelsother = augLabels(augClass=='other',:);
labelsPedestrian = augLabels(augClass=='Pedestrian',:);
helperDisplay3DBoxesOverlaidPointCloud(augptCld.Location,labelsother,'green',...
labelsPedestrian,'magenta','After Data Augmentation');
The error message you are getting indicates that the transform function applied to the cdsAugmented datastore is calling an undefined function augmentData with an input argument of type 'cell'. The augmentData function needs to be defined before you can use it to transform the datastore.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLabeling, 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