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

Tensorflow version

Tensorflow version

0
Votes
1
Answer

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 Answer

365 Team
0
Votes

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.teachable.com/courses/284663/lectures/5638879 . 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.teachable.com/courses/enrolled/614390. Note that all the code in that course is written in TensorFlow 2 and is the one you should be following!
Best,
Iliya