Skip to content

Question about Sun direction #2

@lt-wang

Description

@lt-wang

InvRGBL/models/modules.py

Lines 281 to 286 in bf6b62e

def get_sun_direction(self):
return self.anno_sun_direction.to(device=self.device)
# canon_light_dxy = self.sun_direction_[:2]
# canon_light_d = torch.cat([canon_light_dxy, torch.ones(1).to(self.sun_direction.device)])
# return canon_light_d / canon_light_d.norm()

Why is the sun direction kept fixed here?

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