Skip to content

Commit bd9bcf4

Browse files
Additional updates
1 parent 85d4321 commit bd9bcf4

File tree

2 files changed

+28
-22
lines changed

2 files changed

+28
-22
lines changed

articles/machine-learning/tutorial-setup-vscode-extension.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.subservice: core
88
ms.topic: tutorial
99
author: luisquintanilla
1010
ms.author: luquinta
11-
ms.date: 01/31/2020
11+
ms.date: 02/15/2020
1212
#Customer intent: As a professional data scientist, I want to learn how to get started with the Azure Machine Learning Visual Studio Code Extension.
1313
---
1414

@@ -46,7 +46,7 @@ The rest of the steps in this tutorial have been tested with **version 0.6.8** o
4646
In order to provision resources and run workloads on Azure, you have to sign in with your Azure account credentials. To assist with account management, Azure Machine Learning automatically installs the Azure Account extension. Visit the following site to [learn more about the Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account).
4747

4848
1. Open the command palette by selecting **View > Command Palette** from the menu bar.
49-
1. Enter the command "Azure: Sign In" into the text box to start the sign in process.
49+
1. Enter the command "Azure: Sign In" into the command palette to start the sign in process.
5050

5151
## Run a machine learning model training script in Azure
5252

@@ -97,7 +97,13 @@ Now that you have signed into Azure with your account credentials, Use the steps
9797
}
9898
```
9999
100-
1. Select **Submit experiment** to run your experiment in Azure. This sends the `train.py` and configuration file to your Azure Machine Learning workspace. The training job is then started on a compute resource in Azure.
100+
1. Once you're satisfied with your configuration, submit your experiment by opening the command palette and entering the following command:
101+
102+
```text
103+
Azure ML: Submit Experiment
104+
```
105+
106+
This sends the `train.py` and configuration file to your Azure Machine Learning workspace. The training job is then started on a compute resource in Azure.
101107
102108
### Track the progress of the training script
103109

articles/machine-learning/tutorial-train-deploy-image-classification-model-vscode.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.subservice: core
88
ms.topic: tutorial
99
author: luisquintanilla
1010
ms.author: luquinta
11-
ms.date: 01/16/2019
11+
ms.date: 02/15/2019
1212
#Customer intent: As a professional data scientist, I want to develop, deploy, and manage Azure Machine Learning projects locally in Visual Studio Code.
1313
---
1414

@@ -52,10 +52,10 @@ The first thing you have to do to build an application in Azure Machine Learning
5252
> [!div class="mx-imgBorder"]
5353
> ![Create a workspace](./media/tutorial-train-deploy-image-classification-model-vscode/create-workspace.png)
5454
55-
1. By default a name is generated containing the date and time of creation. In the command palette, change the name to "TeamWorkspace" and press **Enter**.
56-
1. Select **Create a new resource group** in the command palette.
57-
1. Enter "TeamWorkspace-rg" in the command palette text box and press **Enter**.
58-
1. In the command palette, choose a location for your workspace. It's recommended to choose a location that is closest to the location you plan to deploy your model. In this case, choose **West US 2**.
55+
1. By default a name is generated containing the date and time of creation. In the text input box, change the name to "TeamWorkspace" and press **Enter**.
56+
1. Select **Create a new resource group**.
57+
1. Name your resource group "TeamWorkspace-rg" and press **Enter**.
58+
1. Choose a location for your workspace. It's recommended to choose a location that is closest to the location you plan to deploy your model. In this case, select **West US 2**.
5959
1. When prompted to select a workspace SKU, select **Basic** to create a basic workspace. For more information on different workspace offerings, see [Azure Machine Learning overview](./overview-what-is-azure-ml.md#sku).
6060

6161
At this point, a request to Azure is made to create a new workspace in your account. After a few minutes, the new workspace appears in your subscription node.
@@ -73,7 +73,7 @@ One or more experiments can be created in your workspace to track and analyze in
7373
> [!div class="mx-imgBorder"]
7474
> ![Create an experiment](./media/tutorial-train-deploy-image-classification-model-vscode/create-experiment.png)
7575
76-
1. In the command palette prompt, name your experiment "MNIST" and press **Enter** to create the new experiment.
76+
1. Name your experiment "MNIST" and press **Enter** to create the new experiment.
7777

7878
Like workspaces, a request is sent to Azure to create an experiment with the provided configurations. After a few minutes, the new experiment appears in the *Experiments* node of your workspace.
7979

@@ -92,8 +92,8 @@ To create a compute target:
9292
> ![Create a compute target](./media/tutorial-train-deploy-image-classification-model-vscode/create-compute.png)
9393
9494
1. Select **Azure Machine Learning Compute (AmlCompute)**. Azure Machine Learning Compute is a managed-compute infrastructure that allows the user to easily create a single or multi-node compute that can be used with other users in your workspace.
95-
1. Choose a VM size. In the command palette prompt, select **Standard_F2s_v2**. The size of your VM has an impact on the amount of time it takes to train your models. For more information on VM sizes, see [sizes for Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/sizes).
96-
1. In the command palette prompt, name your compute "TeamWkspc-com" and press **Enter** to create your compute.
95+
1. Choose a VM size. Select **Standard_F2s_v2** from the list of options. The size of your VM has an impact on the amount of time it takes to train your models. For more information on VM sizes, see [sizes for Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/sizes).
96+
1. Name your compute "TeamWkspc-com" and press **Enter** to create your compute.
9797

9898
After a few minutes, the new compute target appears in the *Compute* node of your workspace.
9999

@@ -111,10 +111,10 @@ To create a run configuration:
111111
> [!div class="mx-imgBorder"]
112112
> ![Create a run configuration](./media/tutorial-train-deploy-image-classification-model-vscode/create-run-configuration.png)
113113
114-
1. In the command palette prompt, name your run configuration "MNIST-rc" and press **Enter** to create your compute.
114+
1. Name your run configuration "MNIST-rc" and press **Enter** to create your run configuration.
115115
1. Then, select **TensorFlow Single-Node Training** as the training job type.
116116
1. Press **Enter** to browse the script file to run on the compute. In this case, the script to train the model is the `train.py` file inside the `vscode-tools-for-ai/mnist-vscode-docs-sample` directory.
117-
1. Enter the following into the command palette prompt to specify the required packages.
117+
1. Enter the following into the input box to specify the required packages.
118118

119119
```text
120120
pip: azureml-defaults; conda: python=3.6.2, tensorflow=1.15.0
@@ -188,7 +188,7 @@ To run an Azure Machine Learning experiment:
188188
> [!div class="mx-imgBorder"]
189189
> ![Run an experiment](./media/tutorial-train-deploy-image-classification-model-vscode/run-experiment.png)
190190
191-
1. In the command palette, select the **TeamWkspc-com** compute target.
191+
1. From the list of compute target options, select the **TeamWkspc-com** compute target.
192192
1. Then, select the **MNIST-rc** run configuration.
193193
1. At this point, a request is sent to Azure to run your experiment on the selected compute target in your workspace. This process takes several minutes. The amount of time to run the training job is impacted by several factors like the compute type and training data size. To track the progress of your experiment, right-click the current run node and select **View Run in Azure portal**.
194194
1. When the dialog requesting to open an external website appears, select **Open**.
@@ -218,9 +218,9 @@ To register your model:
218218
> [!div class="mx-imgBorder"]
219219
> ![Register a model](./media/tutorial-train-deploy-image-classification-model-vscode/register-model.png)
220220
221-
1. On the command palette, name your model "MNIST-TensorFlow-model" and press **Enter**.
222-
1. A TensorFlow model is made up of several files. Select **Model folder** as the model path format in the command palette.
223-
1. Select the `azureml_outputs/Run_1/outputs/Run_1/outputs/outputs/model` directory.
221+
1. Name your model "MNIST-TensorFlow-model" and press **Enter**.
222+
1. A TensorFlow model is made up of several files. Select **Model folder** as the model path format from the list of options.
223+
1. Select the `azureml_outputs/Run_1/outputs/outputs/model` directory.
224224
225225
A file containing your model configurations appears in Visual Studio Code with similar content to the one below:
226226
@@ -230,7 +230,7 @@ To register your model:
230230
"tags": {
231231
"": ""
232232
},
233-
"modelPath": "c:\\Dev\\vscode-tools-for-ai\\mnist-vscode-docs-sample\\azureml_outputs\\Run_1\\outputs\\Run_1\\outputs\\outputs\\model",
233+
"modelPath": "c:\\Dev\\vscode-tools-for-ai\\mnist-vscode-docs-sample\\azureml_outputs\\Run_1\\outputs\\outputs\\model",
234234
"description": ""
235235
}
236236
```
@@ -262,10 +262,10 @@ To deploy a web service as an ACI :
262262
> [!div class="mx-imgBorder"]
263263
> ![Deploy the model](./media/tutorial-train-deploy-image-classification-model-vscode/register-model.png)
264264
265-
1. On the command palette, select **Azure Container Instances**.
266-
1. Name your service "mnist-tensorflow-svc" and press **Enter** in the command palette.
267-
1. Choose the script to run in the container by pressing **Enter** in the command palette and browsing for the `score.py` file in the `mnist-vscode-docs-sample` directory.
268-
1. Provide the dependencies needed to run the script by pressing **Enter** in the command palette and browsing for the `env.yml` file in the `mnist-vscode-docs-sample` directory.
265+
1. Select **Azure Container Instances**.
266+
1. Name your service "mnist-tensorflow-svc" and press **Enter**.
267+
1. Choose the script to run in the container by pressing **Enter** in the input box and browsing for the `score.py` file in the `mnist-vscode-docs-sample` directory.
268+
1. Provide the dependencies needed to run the script by pressing **Enter** in the input box and browsing for the `env.yml` file in the `mnist-vscode-docs-sample` directory.
269269
270270
A file containing your model configurations appears in Visual Studio Code with similar content to the one below:
271271

0 commit comments

Comments
 (0)