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

About renderer #33

Open
ydwxuexi55 opened this issue Jul 5, 2023 · 9 comments
Open

About renderer #33

ydwxuexi55 opened this issue Jul 5, 2023 · 9 comments

Comments

@ydwxuexi55
Copy link

I use the renderer according to the usage, but always get a black background image, what is the reason?

@twowwj
Copy link

twowwj commented Jul 19, 2023

I met the same problem.
Anybody can help?

@a4152684
Copy link

same issue

@a4152684
Copy link

我怀疑是11.x的cuda无法正常运行p2i

@boqiuphd
Copy link

I use the renderer according to the usage, but always get a black background image, what is the reason?

Need to make sure the point cloud data is loaded correctly onto the cuda, if the point cloud data is on the CPU it will return an empty projection map.
data = torch.from_numpy(point_cloud).unsqueeze(0).cuda()

@MMMaverick
Copy link

I use the renderer according to the usage, but always get a black background image, what is the reason?

Need to make sure the point cloud data is loaded correctly onto the cuda, if the point cloud data is on the CPU it will return an empty projection map. data = torch.from_numpy(point_cloud).unsqueeze(0).cuda()

That work for me, thank you!

@MMMaverick
Copy link

@boqiuphd But I found that the visualization of point clouds for various categories looks quite strange, as if they are disordered. Do you have any suggestions?Image

@boqiuphd
Copy link

@boqiuphd But I found that the visualization of point clouds for various categories looks quite strange, as if they are disordered. Do you have any suggestions?Image

Are the projection maps for all viewpoints weird? Or maybe you can modify class ComputeDepthMaps in SpareNet/utils/p2i_utils.py, for example, to customize a function to generate the eyes_pos_list you need.

@MMMaverick
Copy link

It was probably my incorrect use of reshape that caused the data structure to get messed up. Thank you for your help!

@boqiuphd
Copy link

It was probably my incorrect use of reshape that caused the data structure to get messed up. Thank you for your help!

You're welcome and good luck with your research!

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

5 participants