Skip to content

Training Code Issues #3

@G-1nOnly

Description

@G-1nOnly

Congratulations and thanks for such a great work!
I found that for the DTU dataset (probably other datasets as well?), the norm of normals may be 0 when calculating the normal error for supervising, which causes the code stop running, so I add the following line:
norm = torch.where(torch.eq(norm,0.0), torch.tensor(1.), norm)
in the render_core function in ./models/renderer.py to prevent from such issues and the code works now.
But I'm not sure that the modification of code is correct, so I just raise this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions