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.
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
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.
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