Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model color #236

Open
shmily912 opened this issue Jul 27, 2020 · 1 comment
Open

model color #236

shmily912 opened this issue Jul 27, 2020 · 1 comment

Comments

@shmily912
Copy link

hello, when i visualized the result of pointcnn. I found that the segmented model's color is almost black. so i want to know how could i change the color of it. Thanks
cap01

@yechaowang
Copy link

hello, when i visualized the result of pointcnn. I found that the segmented model's color is almost black. so i want to know how could i change the color of it. Thanks
cap01

The color is set by 'tab20' from matplotlib.cm. There are two ways to help:1.changing the parameter of camp_name in data_utils.py (you could refer to https://matplotlib.org/stable/gallery/color/colormap_reference.html) and fine-tuning the color mapping code. 2. when you test your model, choosing -s to save the ply. Then rewriting the ply file or transforming the ply file to xyz file to change the color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants