Skip to content

Class Siren foward coords requires grad? #54

@hpicsk

Description

@hpicsk

In Colab notebook implementation of Class Siren foward
def forward(self, coords): coords = coords.clone().detach().requires_grad_(True) # allows to take derivative w.r.t. input output = self.net(coords) return output, coords

why are coords set require_grad_(True)? Shouldn't the weights of the network only updated, not coordinates?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions