Skip to content

Commit 0a0ec2f

Browse files
author
jballe
committed
Implements conditional entropy models.
Also refactors entropy models to minimize deep TensorFlow imports, and removes necessity to clip large values in `EntropyBottleneck`. PiperOrigin-RevId: 242486869
1 parent 42477a3 commit 0a0ec2f

File tree

3 files changed

+1214
-441
lines changed

3 files changed

+1214
-441
lines changed

examples/bls2017.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ def train():
168168
tf.summary.image("original", quantize_image(x))
169169
tf.summary.image("reconstruction", quantize_image(x_tilde))
170170

171-
# Creates summary for the probability mass function (PMF) estimated in the
172-
# bottleneck.
173-
entropy_bottleneck.visualize()
174-
175171
hooks = [
176172
tf.train.StopAtStepHook(last_step=args.last_step),
177173
tf.train.NanTensorHook(train_loss),

0 commit comments

Comments
 (0)