Skip to content

Commit 85d4321

Browse files
Updated setup tutorial
1 parent 06156fe commit 85d4321

File tree

3 files changed

+33
-8
lines changed

3 files changed

+33
-8
lines changed
49.5 KB
Loading
38.6 KB
Loading

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

Lines changed: 33 additions & 8 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: 01/31/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

@@ -27,6 +27,7 @@ In this tutorial, you learn the following tasks:
2727

2828
- Azure subscription. If you don't have one, sign up to try the [free or paid version of Azure Machine Learning](https://aka.ms/AMLFree).
2929
- Install [Visual Studio Code](https://code.visualstudio.com/docs/setup/setup-overview), a lightweight, cross-platform code editor.
30+
- [Python 3](https://www.python.org/downloads/)
3031

3132
## Install the extension
3233

@@ -47,7 +48,7 @@ In order to provision resources and run workloads on Azure, you have to sign in
4748
1. Open the command palette by selecting **View > Command Palette** from the menu bar.
4849
1. Enter the command "Azure: Sign In" into the text box to start the sign in process.
4950

50-
## Run a script in Azure
51+
## Run a machine learning model training script in Azure
5152

5253
Now that you have signed into Azure with your account credentials, Use the steps in this section to learn how to use the extension to train a machine learning model.
5354

@@ -75,16 +76,16 @@ Now that you have signed into Azure with your account credentials, Use the steps
7576
7677
```json
7778
{
78-
"workspace": "WS12191742",
79-
"resourceGroup": "WS12191742-rg2",
79+
"workspace": "WS01311608",
80+
"resourceGroup": "WS01311608-rg1",
8081
"location": "South Central US",
81-
"experiment": "WS12191742-exp2",
82+
"experiment": "WS01311608-exp1",
8283
"compute": {
83-
"name": "WS12191742-com2",
84+
"name": "WS01311608-com1",
8485
"vmSize": "Standard_D1_v2, Cores: 1; RAM: 3.5GB;"
8586
},
8687
"runConfiguration": {
87-
"filename": "WS12191742-com2-rc1",
88+
"filename": "WS01311608-com1-rc1",
8889
"condaDependencies": [
8990
"python=3.6.2",
9091
"tensorflow=1.15.0"
@@ -97,7 +98,31 @@ Now that you have signed into Azure with your account credentials, Use the steps
9798
```
9899
99100
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. After several minutes, a directory called `output` is created locally containing a trained TensorFlow model.
101+
102+
### Track the progress of the training script
103+
104+
Running your script can take several minutes. To track its progress:
105+
106+
1. Select the **Azure** icon from the activity bar.
107+
1. Expand your subscription node.
108+
1. Expand your currently running experiment's node. This is located inside the `{workspace}/Experiments/{experiment}` node where the values for your workspace and experiment are the same as the properties defined in the configuration file.
109+
1. All of the runs as well as their status for the experiment are listed. To get the most recent status, click the refresh icon at the top of the Azure Machine Learning View.
110+
111+
> [!div class="mx-imgBorder"]
112+
> ![Track Experiment Progress](./media/tutorial-setup-vscode-extension/track-experiment-progress.PNG)
113+
114+
### Download the trained model
115+
116+
When the experiment run is complete, the output is a trained model. To download the outputs locally:
117+
118+
1. Right-click the most recent run and select **Download Outputs**.
119+
120+
> [!div class="mx-imgBorder"]
121+
> ![Download Trained Model](./media/tutorial-setup-vscode-extension/download-trained-model.PNG)
122+
123+
1. Select a location where to save the outputs to.
124+
1. A folder with the name of your run is downloaded locally. Navigate to it.
125+
1. The model files are inside the `outputs/outputs/model` directory.
101126
102127
## Next steps
103128

0 commit comments

Comments
 (0)