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

What the lib "pointops" for #32

Open
RyanG41 opened this issue Aug 25, 2023 · 2 comments
Open

What the lib "pointops" for #32

RyanG41 opened this issue Aug 25, 2023 · 2 comments

Comments

@RyanG41
Copy link

RyanG41 commented Aug 25, 2023

Hi,
I'm kind of a rookie here. Could someone please tell me something about the lib "pointops"? I searched it on google but got insufficient results. I guess it is some tool for point operations and saw "pointops_cuda" when searching, but I wonder where is its source?
Thanks a lot.

@yhyang-myron
Copy link
Member

Sorry for not understanding you well. There are some pointclouds operations implemented on cuda in the pointops. What do you mean source?

@RyanG41
Copy link
Author

RyanG41 commented Aug 31, 2023

Sorry for not expressing the question well. What I mean is, is the pointclouds operations implemented by 'pointops' defined by individuals (i.e. author yourself), or is is some kind of library that was predefined such that we only need to call them? If it is a library stuff, where is it originated?

By the way, I follow the guidelines and run the code, but I dont know why the output pointcloud by SAM3D is somehow lack of groups(or labels? colors?). The final visualization of scene0000_00 is shown below. The running feedback of the terminal is normal (showing 0.jpg to 5560.jpg and merging pointcloud by halfing the number until it goes to 1).

Do you happen to know where could be wrong in the process? Thanks a lot.

result

And the visualization code I use is:

from util import *
import torch

pcd_filepath = 'F:/sam3d/processed_pcd/train/scene0000_00.pth'
pcd_seg_filepath = 'F:/sam3d/results/pcd/scene0000_00.pth'

pcd_data = torch.load(pcd_filepath)
seg_data = torch.load(pcd_seg_filepath)

save_path = 'F:/sam3d/results/pcd/scene0000_00.ply'
visualize_partition(pcd_data['coord'], dict(group=seg_data)['group'], save_path)

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