Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 8d191e4

Browse files
author
Ryan Sepassi
committed
Rm flaky summary histogram
PiperOrigin-RevId: 175362634
1 parent bc2edc6 commit 8d191e4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ script:
2424
- mkdir $T2T_TRAIN_DIR
2525
- t2t-datagen --problem=$T2T_PROBLEM --data_dir=$T2T_DATA_DIR
2626
- t2t-trainer --problems=$T2T_PROBLEM --data_dir=$T2T_DATA_DIR --model=transformer --hparams_set=transformer_tiny --train_steps=5 --eval_steps=5 --output_dir=$T2T_TRAIN_DIR
27-
- t2t-decoder --problems=$T2T_PROBLEM --data_dir=$T2T_DATA_DIR --model=transformer --hparams_set=transformer_tiny --output_dir=$T2T_TRAIN_DIR --decode_hparams='num_samples=10,use_last_position_only=True'
27+
- t2t-decoder --problems=$T2T_PROBLEM --data_dir=$T2T_DATA_DIR --model=transformer --hparams_set=transformer_tiny --output_dir=$T2T_TRAIN_DIR --decode_hparams='num_samples=10'
2828
git:
2929
depth: 3

tensor2tensor/layers/common_layers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,10 +1241,6 @@ def conv_hidden_relu(inputs,
12411241
**kwargs)
12421242
if dropout != 0.0:
12431243
h = tf.nn.dropout(h, 1.0 - dropout)
1244-
if not tf.get_variable_scope().reuse:
1245-
tf.summary.histogram("hidden_density_logit",
1246-
relu_density_logit(
1247-
h, list(range(inputs.shape.ndims - 1))))
12481244
conv_f2 = conv if second_kernel_size == (1, 1) else separable_conv
12491245
ret = conv_f2(h, output_size, second_kernel_size, name="conv2", **kwargs)
12501246
if is_3d:

0 commit comments

Comments
 (0)