SpareNet icon indicating copy to clipboard operation
SpareNet copied to clipboard

About renderer

Open ydwxuexi55 opened this issue 2 years ago • 9 comments

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

ydwxuexi55 avatar Jul 05 '23 06:07 ydwxuexi55

I met the same problem. Anybody can help?

twowwj avatar Jul 19 '23 16:07 twowwj

same issue

a4152684 avatar Sep 21 '24 08:09 a4152684

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

a4152684 avatar Sep 21 '24 08:09 a4152684

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()

boqiuphd avatar Oct 17 '24 09:10 boqiuphd

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 avatar Dec 20 '24 09:12 MMMaverick

@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

MMMaverick avatar Dec 20 '24 09:12 MMMaverick

@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.

boqiuphd avatar Dec 20 '24 10:12 boqiuphd

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

MMMaverick avatar Dec 20 '24 10:12 MMMaverick

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!

boqiuphd avatar Dec 20 '24 10:12 boqiuphd