NVlabs / eg3d

Other
3.24k stars 363 forks source link

Bugs Report #53

Closed X-niper closed 2 years ago

X-niper commented 2 years ago

We have tested "project_onto_planes_index" function in "render.py" file.

We found that the returned projection tensor did not show expected value. To get correct result, you may fix "generate_planes" as follows,

def generate_planes(): """ Defines planes by the three vectors that form the "axes" of the plane. Should work with arbitrary number of planes and planes of arbitrary orientation. """ return torch.tensor([[[1, 0, 0], [0, 1, 0], [0, 0, 1]], [[0, 1, 0], [0, 0, 1], [1, 0, 0]], [[0, 0, 1], [1, 0, 0], [0, 1, 0]]], dtype=torch.float32)

luminohope commented 2 years ago

Please see the relevant post here: https://github.com/NVlabs/eg3d/issues/67