user9333771
user9333771

Reputation:

Azure machine learning failing on sample for training

I am trying to run below sample code in my notebook, Running on python 3.6 kernel. https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-train-models-with-aml Download the MNIST dataset

The following code failed with the attribute error, on line of the following code from azureml.opendatasets import MNIST

from azureml.core import Dataset
from azureml.opendatasets import MNIST

Upvotes: 0

Views: 800

Answers (1)

Ram
Ram

Reputation: 2754

Prerequisites: The tutorial and accompanying utils.py file is also available on GitHub if you wish to use it on your own local environment. Run pip install azureml-sdk[notebooks] azureml-opendatasets matplotlib to install dependencies for this tutorial.

If you are using older version then upgrade to the latest Azure ML SDK Version 1.0.85.

!pip install --upgrade azureml-sdk

# check core SDK version number
print("Azure ML SDK Version: ", azureml.core.VERSION)

Also

!pip install --upgrade azureml-opendataset

Upvotes: 2

Related Questions