Page 1 of 1

Failed to load the training file (SOLVED)

Posted: Wed Mar 27, 2024 5:04 pm
by vincen
Hello,

I am trying to load a taining file in 3D masc, but I get an error saying that it failed to lad the training file

What could be the error ?

Thank you

here is my training file in a .txt format:

# NAMES
cloud: PC1= # let the filename blanck if not needed, but keep the = sign


# CORE POINTS
core_points: PCX

# SCALES
scales: 0.1;0.2;0.75;1;2;5 # scales as a list


# FEATURES

feature: Z_SCx_MEAN
feature: Z_SCx_MODE
feature: Z_SCx_MEDIAN
feature: Z_SCx_STD_PC1
feature: Z_SCx_STD



feature: ROUGH_SCx_PC1

feature: ANISO_SCx_PC1


feature: SPHER_SCx_PC1


feature: LINEA_SCx_PC1


feature: PLANA_SCx_PC1


feature: CURV_SCx_PC1



feature: Zmin_SCx_PC1

feature: R_SC0_PC1
feature: G_SC0_PC1
feature: B_SC0_PC1

Re: Failed to load the training file

Posted: Thu Mar 28, 2024 9:33 am
by paul.leroy
Did you read the messages in the CloudCompare console? It helps to solve syntax issues.
Did you read the documentation on the syntax of features?
=> https://lidar.univ-rennes.fr/sites/lida ... syntax.pdf
=> https://lidar.univ-rennes.fr/node/11

1) You have a 'core_points: PCX' but PCX is not defined elsewhere, replace PCX by PC1 if this is what you want.

2) The following set of parameters works (syntax corrected):

# NAMES
cloud: PC1= # let the filename blanck if not needed, but keep the = sign

# CORE POINTS
core_points: PC1

# SCALES
scales: 0.1;0.2;0.75;1;2;5 # scales as a list

# FEATURES

feature: Z_SCx_MEAN_PC1
feature: Z_SCx_MODE_PC1
feature: Z_SCx_MEDIAN_PC1
feature: Z_SCx_STD_PC1
feature: ROUGH_SCx_PC1
feature: ANISO_SCx_PC1
feature: SPHER_SCx_PC1
feature: LINEA_SCx_PC1
feature: PLANA_SCx_PC1
feature: CURV_SCx_PC1
feature: Zmin_SCx_PC1
feature: X_SC0_PC1
feature: G_SC0_PC1
feature: B_SC0_PC1