tudelft3d / PSSNet

PSSNet: Planarity-sensible Semantic Segmentation of Large-scale Urban Meshes
GNU General Public License v3.0
36 stars 6 forks source link

Step1 make failed #6

Closed SpikeXCZ closed 10 months ago

SpikeXCZ commented 1 year ago

Hi, Dr.Gao My CMake all good, but run "make" and get these report: 2023-08-18 17-38-33

Looking forward your help~ Thank you!

WeixiaoGao commented 1 year ago

Hi, as mentioned in the ReadMe, compiling step-1 on Ubuntu is not supported. If you want to do so, you need to modify the code and replace the current 'filesystem' to boost the filesystem.

SpikeXCZ commented 1 year ago

Thank you Dr.GAO! By your tip I successfully compiled on Win10. Now I am trying to test my own data using the model you provided. I don't need training, I just want to try the effect. How should I modify config.txt? Here is my Config.txt: cut

WeixiaoGao commented 1 year ago

You can enable the process_predict = true and disable others, then put all your data in predict folder and run the same pipeline. But there is no guarantee that you can get correct results as meshes can be very different from one to another.

SpikeXCZ commented 1 year ago

Hi, Dr.GAO: The predict is all good and I got a set of over-seg mesh, but I did not get data in spg_input/pcl/ and the data in spg_input/graph_edges, which means I may be not able to run step2... How to get spg-like data? Here is my over-seg result 7

WeixiaoGao commented 1 year ago

Hello, I've fixed a small bug with reading predicted data in the dev branch and you should be able to generate predicted data for step 2. Please note that you need to create the predict folder in a different directory in advance. Also, the quality of your over-segmented results doesn't seem to be very good, especially on the non-planar segments, which should be merged into one larger segment. One possible reason for this is that the input texture image is missing.

SpikeXCZ commented 1 year ago

Thank you! But there is still nothing generated in spg_input or spg_out... Should I change the mode? I'm using PSSNet_pipeline_for_GCN, it seems not work because including training and testing part And if I changed it into PSSNet_oversegmentation, It will ask me for XXX_mesh_classification.ply which is not generated.

Looking forward to your help~

WeixiaoGao commented 1 year ago

Did you switch to the dev branch and update the code? Please check the commit history to see if there are any matched changes in the local repository.

SpikeXCZ commented 1 year ago

Yes, I did. It seems stuck after finishing "pipline" part. And I can get over-seg results, but cannot find spg stuff.

WeixiaoGao commented 1 year ago

I just tested it this morning and it works fine, so I guess there must be something wrong with your configuration, local directory or input data. Can you try using the SUM data as predictive data to see if it works? Can you also provide more information on what it's stuck on (e.g., the prints from the program)?

JurinJC commented 12 months ago

One possible reason for this is that the input texture image is missing

If I don't have the texture, does the segment result will be bad?

WeixiaoGao commented 11 months ago

Yes, the results can be worse, but the most of planar segments can be detected.

JurinJC commented 11 months ago

What does the texture do? Color properties? Can I use the rgb mesh install of the mesh with texture?

WeixiaoGao commented 11 months ago

Color information is used for over-segmentation and semantic segmentation. I don't understand what RGB mesh you are referring to here, do you mean a mesh with face colors? If so, you can use it to replace the original texture. But you may need to modify the source code.

JurinJC commented 11 months ago

Yes, the rgb mesh I mentioned before is the face color. So, the effect of texture is providing color information used for over-segmentation and semantic segmentation, right?