ctu-mrs / CTopPRM

CTopPRM
GNU General Public License v3.0
14 stars 2 forks source link

What should be the content of this path? #4

Closed XXLiu-HNU closed 4 months ago

XXLiu-HNU commented 10 months ago

图片 When I run the visualization in the example, I get the above error. When I checked in the code, I found this path. What does this mean? 图片

XXLiu-HNU commented 10 months ago

I understand, this path is your working path, but it seems that these files are not in my working path.

novosma commented 10 months ago

Hi! The code that is returning the error is trying to create the visualization for each individual step of the algorithm. If this is what you wanted to see, it is required to set PRINT macro in topological_prm_clustering.hpp file to (true) and run the code again. This saves all of the middle steps of the algorithm in the separate files, that are currently missing. Otherwise setting the is_cl variable in columns_2.py resolve the issue and visualize only the final paths as the result.

The path stored in project variable should be just to the directory where you copied the repository, so I assume its '/home/ubuntu/CTopPRM' for you!

shangzh0 commented 9 months ago

I have met this issue too,but I have no ideas to deal with it.

yunrr commented 9 months ago

I have met this issue too,but I have no ideas to deal with it.

Maybe you can try changing the content of the "project" variable on line 184 to your own CTopRPM path (including CTopRPM), and then modify the print(true) macro in the .hpp file. After that, use the command: ./main