Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This tutorial is very outdated #13

Open
spencerkraisler opened this issue Oct 27, 2018 · 0 comments
Open

This tutorial is very outdated #13

spencerkraisler opened this issue Oct 27, 2018 · 0 comments

Comments

@spencerkraisler
Copy link

spencerkraisler commented Oct 27, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant