Failed to load the training file (SOLVED)

For any question related to the 3DMASC forum
Post Reply
vincen
Posts: 10
Joined: Tue Mar 26, 2024 5:17 pm

Failed to load the training file (SOLVED)

Post 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
Last edited by vincen on Thu Apr 11, 2024 2:54 pm, edited 1 time in total.
paul.leroy
Posts: 22
Joined: Tue Dec 01, 2020 1:21 pm

Re: Failed to load the training file

Post 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
Post Reply