Solution : Accent in the path file that caused the .yaml file to not save correctly.
When I try to load the classifier .txt file in the classification step, i get this error :
Failed to load the classifier file from (insert path to file here)
I really don't know that seems to be the problem here...
I am on windows and using the latest version of CloudCompare.
Here is what's inside the classifier .txt file generated after the training :
# 3DMASC classifier file
classifier: classifier.yaml
# Clouds (roles)
cloud: PC1
# Core points (classified role)
core_points: PC1
# Features
feature: ROUGH_SC0.1_PC1
feature: ROUGH_SC0.2_PC1
feature: ROUGH_SC0.75_PC1
feature: ROUGH_SC1_PC1
feature: ROUGH_SC2_PC1
feature: ROUGH_SC5_PC1
feature: ANISO_SC0.1_PC1
feature: ANISO_SC0.2_PC1
feature: ANISO_SC0.75_PC1
feature: ANISO_SC1_PC1
feature: ANISO_SC2_PC1
feature: ANISO_SC5_PC1
feature: SPHER_SC0.1_PC1
feature: SPHER_SC0.2_PC1
feature: SPHER_SC0.75_PC1
feature: SPHER_SC1_PC1
feature: SPHER_SC2_PC1
feature: SPHER_SC5_PC1
feature: LINEA_SC0.1_PC1
feature: LINEA_SC0.2_PC1
feature: LINEA_SC0.75_PC1
feature: LINEA_SC1_PC1
feature: LINEA_SC2_PC1
feature: LINEA_SC5_PC1
feature: PLANA_SC0.1_PC1
feature: PLANA_SC0.2_PC1
feature: PLANA_SC0.75_PC1
feature: PLANA_SC1_PC1
feature: PLANA_SC2_PC1
feature: PLANA_SC5_PC1
feature: CURV_SC0.1_PC1
feature: CURV_SC0.2_PC1
feature: CURV_SC0.75_PC1
feature: CURV_SC1_PC1
feature: CURV_SC2_PC1
feature: CURV_SC5_PC1
feature: Zmin_SC0.1_PC1
feature: Zmin_SC0.2_PC1
feature: Zmin_SC0.75_PC1
feature: Zmin_SC1_PC1
feature: Zmin_SC2_PC1
feature: Zmin_SC5_PC1
feature: R_SC0_PC1
feature: G_SC0_PC1
feature: B_SC0_PC1
Still Not able to load claissifier (SOLVED)
Still Not able to load claissifier (SOLVED)
Last edited by vincen on Thu Apr 11, 2024 2:53 pm, edited 1 time in total.
-
- Posts: 42
- Joined: Tue Dec 01, 2020 1:21 pm
Re: Still Not able to load claissifier
You have no 'classifier.yaml' file associated with the file 'classifier.txt'? It should be in the same repository.
Re: Still Not able to load claissifier
Yes, exactly, no .yaml file is in the directory !
-
- Posts: 42
- Joined: Tue Dec 01, 2020 1:21 pm
Re: Still Not able to load claissifier (SOLVED)
[SOLVED]
The error came from the directory in which the classifier was saved. The path to this directory included an accent.
[SOLUTION]
Remove any accent from the path.
The error came from the directory in which the classifier was saved. The path to this directory included an accent.
[SOLUTION]
Remove any accent from the path.