carpedm20 / carpedm20/simulated-unsupervised-tensorflow

Motivation behind the denormalize function

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
575
Forks
143
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open layers.py and inspect denormalize alongside the earlier normalization described in the issue. Trace the value ranges through the refined-image path and determine whether denormalization restores the intended pixel range. Done means the formula is consistent with normalization and refined images no longer have unexpectedly low intensity.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.