adventures-in-ml-code icon indicating copy to clipboard operation
adventures-in-ml-code copied to clipboard

This tutorial is very outdated

Open spencerkraisler opened this issue 6 years ago • 0 comments

Two things.

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.

spencerkraisler avatar Oct 27 '18 21:10 spencerkraisler