where can I find helperCalc​ulateClass​Weights helper function?

5 visualizaciones (últimos 30 días)
Ziyuan LI
Ziyuan LI el 16 de Ag. de 2023
Comentada: Steven Lord el 16 de Ag. de 2023
Hi! I am tryin to repeat the pointnet++ code https://www.mathworks.com/help/deeplearning/ug/aerial-lidar-segemation-using-pointnet.html . However, I stuck at the code.
[weights,maxLabel,maxWeight] = helperCalculateClassWeights(fs,numClasses);
it return me the error.
Undefined function 'helperCalculateClassWeights' for input arguments of type
'matlab.io.datastore.FileSet'
The website said that "Use the helperCalculateClassWeights helper function, attached to this example as a supporting file, to calculate the point distribution across all the classes in the training dataset.". but the suporting function did not have the function helperCalculateClassWeights.
I wonder did matlab forget to add this function to the content or I should find it somewhere else.

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Ag. de 2023
Movida: Steven Lord el 16 de Ag. de 2023
I do not have the Lidar Toolbox, but I do have the Deep Learning Toolbox.
After I execute the command
openExample('deeplearning_shared/AerialLidarSemanticSegmentationUsingPointNetExample')
then the file shows up at
~/Documents/MATLAB/Examples/R2023b/deeplearning_shared/AerialLidarSemanticSegmentationUsingPointNetExample/helperCalculateClassWeights.m
on my Mac.
  1 comentario
Steven Lord
Steven Lord el 16 de Ag. de 2023
That's correct. If you open the example in MATLAB, MATLAB will automatically cd into the example directory where the helper function is located.

Iniciar sesión para comentar.

Categorías

Más información sobre Labeling, Segmentation, and Detection en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by