You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/service/how-to-train-keras.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,20 @@ Whether you're developing a Keras model from the ground-up or you're bringing an
22
22
23
23
## Prerequisites
24
24
25
-
- An Azure subscription. Try the [free or paid version of Azure Machine Learning service](https://aka.ms/AMLFree) today.
26
-
-[Install the Azure Machine Learning SDK for Python](setup-create-workspace.md#sdk)
27
-
-[Create a workspace configuration file](setup-create-workspace.md#write-a-configuration-file)
28
-
-[Download the sample script files](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-keras)`mnist-keras.py` and `utils.py`
25
+
Run this code on either of these environments:
29
26
30
-
You can also find a completed [Jupyter Notebook version](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-keras/train-hyperparameter-tune-deploy-with-keras.ipynb) of this guide on GitHub samples page. The notebook includes expanded sections covering intelligent hyperparameter tuning, model deployment, and notebook widgets.
27
+
- Azure Machine Learning Notebook VM - no downloads or installation necessary
28
+
29
+
- Complete the [cloud-based notebook quickstart](quickstart-run-cloud-notebook.md) to create a dedicated notebook server pre-loaded with the SDK and the sample repository.
30
+
- In the samples folder on the notebook server, find a completed and expanded notebook by navigating to this directory: **how-to-use-azureml > training-with-deep-learning > train-hyperparameter-tune-deploy-with-keras** folder.
31
+
32
+
- Your own Jupyter Notebook server
33
+
34
+
-[Install the Azure Machine Learning SDK for Python](setup-create-workspace.md#sdk)
35
+
-[Create a workspace configuration file](setup-create-workspace.md#write-a-configuration-file)
36
+
-[Download the sample script files](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-keras)`mnist-keras.py` and `utils.py`
37
+
38
+
You can also find a completed [Jupyter Notebook version](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-keras/train-hyperparameter-tune-deploy-with-keras.ipynb) of this guide on the GitHub samples page. The notebook includes expanded sections covering intelligent hyperparameter tuning, model deployment, and notebook widgets.
31
39
32
40
## Set up the experiment
33
41
@@ -100,12 +108,24 @@ The [datastore](how-to-access-data.md) is a place where data can be stored and a
100
108
shutil.copy('./utils.py', script_folder)
101
109
```
102
110
103
-
## Get the default compute target
111
+
## Create a compute target
104
112
105
-
Each workspace comes with two, default compute targets: a gpu-based compute target and a cpu-based compute target. The default compute targets have autoscale setto 0, which means they are not allocated until you use it. WIn this example, use the default GPUcompute target.
113
+
Create a compute target for your TensorFlow job to run on. In this example, create a GPU-enabled Azure Machine Learning compute cluster.
Copy file name to clipboardExpand all lines: articles/machine-learning/service/how-to-train-tensorflow.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,20 @@ Whether you're developing a TensorFlow model from the ground-up or you're bringi
22
22
23
23
## Prerequisites
24
24
25
-
- An Azure subscription. Try the [free or paid version of Azure Machine Learning service](https://aka.ms/AMLFree) today.
26
-
-[Install the Azure Machine Learning SDK for Python](setup-create-workspace.md#sdk)
27
-
-[Create a workspace configuration file](setup-create-workspace.md#write-a-configuration-file)
28
-
-[Download the sample script files](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-tensorflow)`mnist-tf.py` and `utils.py`
25
+
Run this code on either of these environments:
29
26
30
-
You can also find a completed [Jupyter Notebook version](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-tensorflow/train-hyperparameter-tune-deploy-with-tensorflow.ipynb) of this guide on GitHub samples page. The notebook includes expanded sections covering intelligent hyperparameter tuning, model deployment, and notebook widgets.
27
+
- Azure Machine Learning Notebook VM - no downloads or installation necessary
28
+
29
+
- Complete the [cloud-based notebook quickstart](quickstart-run-cloud-notebook.md) to create a dedicated notebook server pre-loaded with the SDK and the sample repository.
30
+
- In the samples folder on the notebook server, find a completed and expanded notebook by navigating to this directory: **how-to-use-azureml > training-with-deep-learning > train-hyperparameter-tune-deploy-with-tensorflow** folder.
31
+
32
+
- Your own Jupyter Notebook server
33
+
34
+
-[Install the Azure Machine Learning SDK for Python](setup-create-workspace.md#sdk)
35
+
-[Create a workspace configuration file](setup-create-workspace.md#write-a-configuration-file)
36
+
-[Download the sample script files](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-tensorflow)`mnist-tf.py` and `utils.py`
37
+
38
+
You can also find a completed [Jupyter Notebook version](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-tensorflow/train-hyperparameter-tune-deploy-with-tensorflow.ipynb) of this guide on the GitHub samples page. The notebook includes expanded sections covering intelligent hyperparameter tuning, model deployment, and notebook widgets.
0 commit comments