You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that when I plot the normals obtained from rendering a batch of cameras with rasterization_2dgs, the result appears to be corrupted. See this result from plotting a single gaussian, from two cameras in a batch (the left, red image is the gaussian rendering, and the right are the normals):
Whereas, here is the result I get if I only render one camera (the first one) in the batch:
If you plot the normals of a single camera of a scene or object, and they look good, try plotting a batch of cameras. You should easily reproduce this issue. You can also use this script below to reproduce it:
Looking at the sorts of results that I have gotten my suspicion is there is some bug in terms of the ordering of axes assumed when converting flattened data back to a tensor in CUDA backend (or something like this). It could be something else, but it appears it may be this type of bug, to me at least. Have not had time to investigate more deeply myself, making this issue in the hopes that someone else more versed in the backend code here can more easily fix it!
Thanks a lot for this library by the way!
Liam
The text was updated successfully, but these errors were encountered:
PS: here are some more real-world illustrations of the bug
Normals from a gaussians fit to a human head with a single camera in the rendering batch:
Versus rendering a 4-camera batch:
Note that the rendered RGB looks fine from the 4-camera batch. It's only the normals that appear to suffer from this. It looks to me like the normal renderings are still there, just the pixels from the different batch elements have been interleaved somehow.
Hello,
I am currently running
gsplat==1.4.0
I have noticed that when I plot the normals obtained from rendering a batch of cameras with
rasterization_2dgs
, the result appears to be corrupted. See this result from plotting a single gaussian, from two cameras in a batch (the left, red image is the gaussian rendering, and the right are the normals):Whereas, here is the result I get if I only render one camera (the first one) in the batch:
If you plot the normals of a single camera of a scene or object, and they look good, try plotting a batch of cameras. You should easily reproduce this issue. You can also use this script below to reproduce it:
Looking at the sorts of results that I have gotten my suspicion is there is some bug in terms of the ordering of axes assumed when converting flattened data back to a tensor in CUDA backend (or something like this). It could be something else, but it appears it may be this type of bug, to me at least. Have not had time to investigate more deeply myself, making this issue in the hopes that someone else more versed in the backend code here can more easily fix it!
Thanks a lot for this library by the way!
Liam
The text was updated successfully, but these errors were encountered: