Last answered:

05 Apr 2020

Posted on:

03 Apr 2020

0

Resolved: Tensorflow version

Hi! I am not successful in running the examples of MNIST in Deep Learning with Tensorflow Course (Deeper Example Section). I have been looking for solutions and I noticed that the problem is Tensorflow version. The first error I get is:
ModuleNotFoundError: No module named 'tensorflow.examples.tutorials'

I tried to change this line importing from keras, but others errors appears.

I have ubuntu 18.04. I changed to Anaconda2, but the version of tensorflow installed
is still 2.1.

Is there compatible examples with Tensorflow 2.1 version?

Thanks a lot.
Ligia Batista
 
1 answers ( 0 marked as helpful)
Instructor
Posted on:

05 Apr 2020

0

Hi Ligia,
First, please note that we've got two major versions of TensorFlow - TensorFlow 1 and TensorFlow 2. We've got courses on both of them.
One is 'Deep Learning with TensorFlow', which uses TF1. This is the course you are taking right now: https://365datascience.com/courses/deep-learning-with-tensorflow/ . Note that all the code in that course is written in TensorFlow 1.
The other course is 'Deep Learning with TensorFlow 2', which logically uses TF2 (the one you have installed). You can find it here: https://365datascience.com/courses/deep-learning-with-tensorflow-2-0/. Note that all the code in that course is written in TensorFlow 2 and is the one you should be following!
Best,
Iliya

Submit an answer