Training CNN on Azure with Keras

Shivam Sharma
Applied Deep Learning
3 min readJun 6, 2020
  1. Creating Azure free trial: use personal outlook.com account to sign up for Azure free trial. After login fill all mandatory fields. During Azure free trial sign up credit card is required for verification.

Note: You will not be charged for creating any resource in Azure free trial. Azure account will be deactivated automatically after $200 are consumed. Azure free trial FAQ

2. Login to Azure portal with email ID (Azure user credential) used in the previous step.

3. In the upper-left corner of Azure portal, select + Create a resource.

  • Use the search bar to find Machine Learning.
  • Select Machine Learning.
  • In the Machine Learning pane, select Create to begin.

Provide the following information to configure your new workspace:

  • Workspace name: Enter a unique name
  • Subscription: Select the Azure subscription that you want to use
  • Resource group: Use an existing resource group in your subscription or enter a name to create a new resource group
  • Location: “East US” or “Southeast Asia”
  • Workspace edition: Select Enterprise
  • After you are finished configuring the workspace, select Review + Create.

4. Go to Azure Notebooks & sign in with Azure user credentials.

  • Create a new project
  • Then download “CNN_Keras_Azure.ipynb” from here & upload in your project
  • Ensure “Running on Free Compute” is enabled

5. Select Download config.json from the Overview section of the workspace in Azure portal.

  • Upload config.json in your project folder
  • Also, click on the launch option in Azure ML workspace

6. Click on CNN_Keras_Azure.ipynb in your project to open & execute step by step :)

--

--

Shivam Sharma
Applied Deep Learning

MCT | MCSE: Azure | MCSA: Machine Learning | Blockchain| R, Architect/Consultant/Trainer. I love working with cutting-edge technologies.