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

WARNING: read_data_sets is deprecated and will be removed in a future version #247

Open
zackgd1024 opened this issue May 7, 2018 · 4 comments

Comments

@zackgd1024
Copy link

While I'm trying to run the the Convolutional Neural Network example, I got the following WARNING:

WARNING:tensorflow:From 2.py:17: read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.

Do I need to fix the WARNING?

Thanks

@anonymone
Copy link

No,This is related to the version of tensorflow . I guess it will remove this warning in next version of tensorflow. But in next version this model will change.

@reid2016
Copy link

reid2016 commented Dec 3, 2018

I met similar things, too. But if I don't fix it, I cannot use minist. What should I do?

@ghost
Copy link

ghost commented Jan 5, 2019

same err. THey also say _Please write your own downloading logic
screenshot from 2019-01-05 13-52-20

_

@quick0831
Copy link

I discover this on the website
https://www.tensorflow.org/tutorials/keras/save_and_restore_models

(train_images, train_labels), (test_images, test_labels) = tf.keras.datasets.mnist.load_data()

train_labels = train_labels[:1000]
test_labels = test_labels[:1000]

train_images = train_images[:1000].reshape(-1, 28 * 28) / 255.0
test_images = test_images[:1000].reshape(-1, 28 * 28) / 255.0

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

4 participants