Get error using load for tensorflow_datasets in TF2.0.0alpha
mnist_dataset,mnist_info=tfds.load(name='mnist',with_info=True,as_supervised=True)
AttributeError Traceback (most recent call last) <ipython-input-7-584299b5db27> in <module> ----> 1 mnist_dataset,mnist_info=tfds.load(name='mnist',with_info=True,as_supervised=True) 2 3 #mnist_train,mnist_test=mnist_dataset['train'],mnist_dataset['test'] AttributeError: module 'tensorflow_datasets' has no attribute 'load'
1 answers ( 0 marked as helpful)
Hi Sundas,
When did you install tensorflow-datasets? Is it a fresh installation?
I'd suggest that you update it in Anaconda.
Iliya
pip install --upgrade tensorflow-datasetsto make sure you have the latest version on your computer. Best,
Iliya