You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tutorial uses softmax_cross_entropy_with_logits() instead of
softmax_cross_entropy_with_logits_v2(). That should be changed.
Also, this is importing the MNIST database from a soon-to-be-outdated source. I got it working by replacing the imports with import tensorflow as tf old_v = tf.logging.get_verbosity() tf.logging.set_verbosity(tf.logging.ERROR) from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("/tmp/data/", one_hot = True) tf.logging.set_verbosity(old_v) import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
I submitted a working model if you want to present a working tutorial.
The text was updated successfully, but these errors were encountered:
Two things.
This tutorial uses
softmax_cross_entropy_with_logits()
instead ofsoftmax_cross_entropy_with_logits_v2().
That should be changed.Also, this is importing the MNIST database from a soon-to-be-outdated source. I got it working by replacing the imports with
import tensorflow as tf
old_v = tf.logging.get_verbosity()
tf.logging.set_verbosity(tf.logging.ERROR)
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot = True)
tf.logging.set_verbosity(old_v)
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
I submitted a working model if you want to present a working tutorial.
The text was updated successfully, but these errors were encountered: