I was integrating the rasterizer (thank you) into the 4DGS pipeline and I came across an illegal memory access error that originated from initializing scales using from simple_knn._C import distCUDA2, i.e. initializing with:
def create_GS_from_point_cloud(...):
...
dist2 = torch.clamp_min(distCUDA2(torch.from_numpy(np.asarray(pcd.points)).float().cuda()), 0.000001)
scales = torch.log(torch.sqrt(dist2))[...,None].repeat(1, 3)
As a fix I implemented my own knn, but I'm curious whether this error originated from the simple-knn repo or this one.
Also I wanted to know whether anyone knows the main difference between the depth calculation here and the depth-diff-gaussian-rasterization method for depth?