2.8 KiB
title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.devlang | ms.tgt_pltfrm | ms.topic | ms.assetid | caps.latest.revision | author | ms.author | manager | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quickstart: Create a Python project from a template in Visual Studio | Microsoft Docs | 09/25/2017 |
|
python | article | 3f4b66c5-3ad8-4067-90cd-0100205700a7 | 1 | kraigb | kraigb | ghogen |
Quickstart: train AI models in Azure Batch AI
Batch AI is a managed service that enables data scientists and AI researchers to train AI and other machine learning models on clusters of Azure virtual machines, including VMs with GPU support. You describe the requirements of your job, where to find the inputs and store the outputs, and Batch AI handles the rest. Learn more about Azure Batch AI
It's integrated with Visual Studio Tools for AI so you can dynamically scale out training models in Azure. Once you've installed Visual Studio Tools for AI, it's easy to create a new Python project using pre-made recipes in the Azure Machine Learning Sample Gallery.
-
Launch Visual Studio. Open the Server Explorer by opening the AI Tools menu and choosing Select Cluster
-
Expand AI Tools. Any Batch AI resources you have will be auto-detected and appear in the Server Explorer.
-
Select View > Team Explorer... to open the Team Explorer window in which you can connect to GitHub or Visual Studio Team Services, or clone a repository.
-
In the URL field under Local Git Repositories, enter
https://github.com/Microsoft/samples-for-ai
, enter a folder for the cloned files, and select Clone.[!Tip] The folder you specify in Team Explorer is the specific folder to receive the cloned files. Unlike the
git clone
command, creating a clone in Team Explorer does not automatically create a subfolder with the name of the repository. -
When cloning is complete, click File > Open Solution > Project / Solution
-
Open samples-for-ai\TensorFlowExamples\TensorFlowExamples.sln in the directory you cloned the repository
-
Set MNIST project as the **Startup Project **
-
**Right-click **MNIST project, Submit Job
-
Select your Azure Batch AI cluster, then click Import. Select the
AzureBatchAI_TF_MNIST.json
file to quickly populate some default values like which Docker Image to use. Then click Submit