diff --git a/tutorials/image/cifar10_estimator/cifar10_main.py b/tutorials/image/cifar10_estimator/cifar10_main.py index 7e54772e583c25e960c583461798a3692bc20a01..9fbf5631069ba8ddaeffd5d144efa2b8ef8622ce 100644 --- a/tutorials/image/cifar10_estimator/cifar10_main.py +++ b/tutorials/image/cifar10_estimator/cifar10_main.py @@ -282,7 +282,6 @@ def _tower_fn(is_training, weight_decay, feature, label, tower_losses, tower_loss = tf.losses.sparse_softmax_cross_entropy( logits=logits, labels=label) tower_loss = tf.reduce_mean(tower_loss) - tower_losses.append(tower_loss) model_params = tf.trainable_variables() tower_loss += weight_decay * tf.add_n(