Closed Xtian-hub closed 3 months ago
sorry, I change like "5.png"
Hi,
The error indicates an issue with the dataset's root path specified in config.txt; it should be correctly set to root_path = E:/openlibs/datasets/
. Additionally, your data should be placed inside the input/
folder (train/test/validate/predict), not at the root path. Ensure that you either create or download all necessary folders, following the folder structure outlined in the demo. While you can adjust settings in 'config.txt', remember to do so in accordance with the guidelines provided for each parameter.
Hi, Dr.Gao
My program has run successfully. I want to achieve the results of over-segmentation. but segmentation results are not appearing
. I encountered this in the code.
I have already created the folders according to the demo data. I changed the operating_mode in this order
. Can you please advise me on how to resolve this?
It appears that the output for the test dataset from the previous step (planar and non-planar classification) may be incorrect. Could you please verify that the folder designated for saving the test data exists and that the save path matches precisely with the one mentioned in the error message? After confirming these details, it will be necessary to rerun the pipeline for the test dataset.
Hi, Dr.Gao the issue still persist. (py38) E:\openlibs\data_demo_pssnet\PSSNet\step-1\build-vs\semantic_urban_mesh_segmentation\Release>semantic_urban_mesh_segmentation.exe E:\openlibs\data_demo_pssnet\
Reading configuration file: Done in (s): 0.0007669
--------------------- PSSNet oversegmented train mesh --------------------- Get all training data. Done in (s): 0.0018128
- Planar and non-planar based region growing.
[PropertyContainer] A property with name "f:label_probabilities" already exists. Returning invalid property. loading training mesh: E:/openlibs/data_demopssnet/PSSNet/input/train/Tile+1984_+2688_groundtruthL0.ply Loading semantic mesh: Tile+1984_+2688 mesh read successful, loading time: 2.00983s The total number of input triangle facets: 309445
The total number of input edges: 466157
The total number of input vertices: 156580
The total number of input texture image: 1
Start to reading sampled pointcloud Tile+1984+2688 Compute initial vertex planarity for vertex Done in (s): 1.93838
Region growing, use (s): 5.04177
The number of intermediate segments are 9016 assign_initial_segments_on_mesh, use Global smoothed 13296 faces. (s): 53.5626
After region growing, the segment number is 4858 The number of segments are 4858 Saving segment mesh: Tile+1984+2688 TODO: use binary format mesh saved Done in (s): 14.4375
--------------------- PSSNet oversegmented test mesh --------------------- Get all test data. Done in (s): 0.0007713
- Planar and non-planar based region growing.
[PropertyContainer] A property with name "f:label_probabilities" already exists. Returning invalid property.
loading training mesh: E:/openlibs/data_demopssnet/PSSNet/input/test/Tile+1984_+2688_groundtruthL0.ply
Loading semantic mesh: Tile+1984_+2688
RPly: Unable to open file
failed to open ply file 'E:/openlibs/data_demopssnet/PSSNet/output/test/Tile+1984_+2688_mesh_classification.ply'
reading file failed (no data exist)
File loading failed
I have made sure that the file exists, but the data is not generated. but data not generation. I cannot determine whether the issue is related to 'f:label_probabilities', i can not find it.
I executed the process in this order: "PSSNet_pipeline_for_GCN: Run the following modes in sequence: Get_labels_for_planar_non_planar_from_semantic, Pipeline, PSSNet_oversegmentation, PSSNet_oversegmentation_evaluation, PSSNet_graph_construction, and PSSNet_pcl_generation_for_GCN."
sorry, I got another error.
The f:label_probabilities field is not crucial for our current issue. Could you please visualize the data located at E:/openlibs/data_demopssnet/PSSNet/input/test/Tile+1984_+2688_groundtruth_L0.ply, as indicated in the error message?
The PSSNet_pipeline_for_GCN encompasses all necessary modes in a sequence, eliminating the need to run them individually under normal circumstances.
Regarding the encodings issue, this is a standard Python package. It appears there might be a problem with your Python environment variable configuration. Could you verify its setup?
the data located at ‘E:/openlibs/data_demopssnet/PSSNet/input/test/Tile+1984_+2688_groundtruth_L0.ply’ as follow:
.it do not generation TextureFile.
I'm referring to the results of the planar and non-planar classification, which are expected to be located in the E:/openlibs/data_demo_pssnet/PSSNet/output/test/ directory. These should be produced automatically by the PSSNet_pipeline_for_GCN mode. If they're missing, could you please rerun the pipeline in 'Pipeline' mode to regenerate the classification results for the test data?
Regarding the handling of step 1, I also have some questions. If I want to directly generate new data processing results in the form of predict/test, how should I set it up? When I set the operating_mode to PSSNet_pipeline_for_GCN, the software reminds me of the issue that there is no data or data labels in the train directory. How should I place my test data?
For example, here when I set the operating_mode to PSSNet_pipeline_for_GCN and place the data in the \context\PSSNet\input\test directory, I encounter an error while processing Get_labels_for_planar_non_planar_from_semantic.
The test
folder should contain the ground truth labels for evaluation. If it does not, please place your data in the predict
folder instead.
Thank you for your help. I have set the mode to "predict." When I run operating_mode = PSSNet_oversegmentation, I find that it requires reading the pnp information of the model, which is not present in the original data. Could it be that there is still an issue with the parameters in my configuration?
I have completed the software construction, but after running it, there have been no changes to the source files and no new files generated !
I followed the file format of the ‘data_demo_pssnet’, for example, 1.png.
. The '2.png' is my folder structure
. Furthermore, I found an example in data_demo_pssnet. Should the format of the config.txt I need to write be similar to that file? Below is the config.txt I placed.
config.txt Regarding the content of config.txt, how should I set the data source path and the output path? As I understand it, root_path is the data source path where I placed .ply and .jpg files for testing, but there was no response. Is it correct for me to do this?
Thank you for your time and assistance. I sincerely hope to overcome this difficulty and begin making full use of your software.
Best regards,
Geng Xiaotian