简体   繁体   English

Azure 机器学习在训练样本上失败

[英]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.我试图在我的笔记本中运行以下示例代码,在 python 3.6 内核上运行。 https://docs.microsoft.com/en-us/azure/machine-learning/tutorial-train-models-with-aml Download the MNIST dataset https://docs.microsoft.com/en-us/azure/machine-learning/tutorial-train-models-with-aml下载 MNIST 数据集

The following code failed with the attribute error, on line of the following code from azureml.opendatasets import MNIST以下代码因属性错误而失败,来自 azureml.opendatasets import MNIST 的以下代码行

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

Prerequisites: The tutorial and accompanying utils.py file is also available on GitHub if you wish to use it on your own local environment .先决条件:如果您希望在自己的本地环境中使用本教程和随附的 utils.py 文件,也可以在GitHub找到它。 Run pip install azureml-sdk[notebooks] azureml-opendatasets matplotlib to install dependencies for this tutorial.运行 pip install azureml-sdk[notebooks] azureml-opendatasets matplotlib 以安装本教程的依赖项。

If you are using older version then upgrade to the latest Azure ML SDK Version 1.0.85.如果使用旧版本,请升级到最新的 Azure ML SDK 版本 1.0.85。

!pip install --upgrade azureml-sdk !pip install --upgrade azureml-sdk

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

Also

!pip install --upgrade azureml-opendataset !pip install --upgrade azureml-opendataset

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM