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

Get error using load for tensorflow_datasets in TF2.0.0alpha

Get error using load for tensorflow_datasets in TF2.0.0alpha

0
Votes
1
Answer

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 Answer

365 Team
0
Votes

Hi Sundas,
When did you install tensorflow-datasets? Is it a fresh installation?
I’d suggest that you update it in Anaconda.

pip install --upgrade tensorflow-datasets

to make sure you have the latest version on your computer.
Best,
Iliya