Aerial Lidar Semantic Segmentation Using PointNet++ Deep Learning error when following example

3 次查看(过去 30 天)
In the "Train Model" phase of the example code,
doTraining = true;
if doTraining
% Train the network on the ldsTransformed datastore using
% the trainNetwork function.
[net,info] = trainNetwork(ldsTransformed,lgraph,options);
else
% Load the pretrained network.
load('pointnetplusTrained','net');
end
The trainNetwork line returns the following error:
Error using trainNetwork
Input datastore returned more than one observation per row for network input 1.
I followed instructions on downloading the DALES dataset and running the code without changing anything, so I'm not sure why I'm getting this error if the example code isn't faulty. Is the problem that I'm running this code on the R2022b release?

回答(1 个)

Vinay Ancha
Vinay Ancha 2022-10-26
Hi,
The Aerial Lidar example code and pointnetplusLayers API have been enhanced in R2022b. I belive you might be trying to run the mlx file from R2022a in R2022b and that's the reason the example is running into this error.
Run this command "openExample('deeplearning_shared/AerialLidarSemanticSegmentationUsingPointNetExample')" to open the latest mlx version of this example and try the training from this script.

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by