Last answered:

28 Jul 2020

Posted on:

26 Jun 2020

0

No module named 'tensorflow.examples.tutorials'

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!
1 answers ( 0 marked as helpful)
Instructor
Posted on:

28 Jul 2020

0
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

Submit an answer