The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

No module named ‘tensorflow.examples.tutorials’

No module named ‘tensorflow.examples.tutorials’

Super Learner
0
Votes
1
Answer

Hello Team,
I am trying to run the code
import numpy as np
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets(“MNIST_data”, one_hot=True)
But i got this error:

ModuleNotFoundError: No module named 'tensorflow.examples.tutorials'

Do you know why?
TF version 2.2.0
Kindly note that the code changes a lot from what appears on the video and with the current version.
Thanks!

Dear Team, I just realized that the course is split in two, one for TF v1 and other for v2. It would be great to explain that at the begining of the course, due it seems that the course “Deep Learning with TensorFlow 2.0” is the second part of “Deep Learning with TensorFlow”. Thanks for consider my idea

3 months

I faced the same problem. When I used TensorFlow 2.0 code a new error occured: ModuleNotFoundError: No module named ‘tensorflow_datasets’. So I still do not know how fix it.

2 months
1 Answer

365 Team
0
Votes

Hi there,
In fact, the two are two separate courses.
Both courses follow the same theoretical lectures. However, the code is different for the two versions. After all the theory of NNs doesn’t change. Only the version of TensorFlow does.
Apart from the TensorFlow version, the knowledge that you will gain will be unchanged!
The 365 Team