carpedm20 / carpedm20/simulated-unsupervised-tensorflow

Curious about the constant used in the normalize function

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

Description

In layers.py, there is a normalize function that has a constant of 127.5:

def normalize(layer):
return layer/127.5 - 1.

I'm a little confused as to where the 127.5 comes from. It's a very specific question of course, but i'm interested in extending the regularization loss function with other types of transforms outside of the identity mapping used in the paper. If you have any tips or pointers in modifying that I'd love to hear. Great work and thanks for doing this!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.