Skip to content

Motivation behind the denormalize function #25

Description

@deepakdilipkumar

The denormalize function in layers.py is defined as (layer + 1.)/2. If the aim is to revert the earlier normalization, shouldn't we have (layer + 1.)*127.5?

Asking because I'm facing a problem where the refined images are extremely dark (low intensity), since the pixel values are very low after denormalization.

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