What is the difference between the two courses Tensorflow and Tensorflow 2.0?
i also have a problem initial to run tensorflow but after using web suggestions:
import tensorflow.compat.v1 as tf
it is solved. Is this a version problem?
i try with the installation guide in tensorflow 2.0.
i could not find the created enviroment through kernel in jupyter. but i follow and print version, i have tensor 2.2.0
however i still encounter this error:
ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-9c8e25c07922> in <module> 8 # conda install tensorflow-datasets 9 ---> 10 import tensorflow_datasets as tfds 11 12 # these datasets will be stored in C:\Users\*USERNAME*\tensorflow_datasets\... ModuleNotFoundError: No module named 'tensorflow_datasets'
Now I try:
from tensorflow.keras.datasets import mnist
this error surface:
AttributeError Traceback (most recent call last) <ipython-input-4-8366146aadf2> in <module> 20 # Have in mind that the very first time you execute this command it might take a little while to run 21 # because it has to download the whole dataset. Following commands only extract it so they're faster. ---> 22 mnist = mnist.read_data_sets("MNIST_data/", one_hot=True) AttributeError: module 'tensorflow.keras.datasets.mnist' has no attribute 'read_data_sets'