Skip to content

Train Machine Learning Job using Azure ML computing and a custom docker image

Notifications You must be signed in to change notification settings

john2408/Azure_ML_Training_Job

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML Training Job on Azure Machine Learning with custom Docker Container

Setup Configuration using Azure CLI and Python SDK

Ref: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-custom-image

image size

Steps:

  • (1) Create a local conda environment with python 3.6 or later and install azure python SDK
conda create --name azure-env python=3.9
pip install azureml-core
  • (2) Install Azure CLI and Login with Azure Account
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az login
az acr create --resource-group myResourceGroup --name azuremlforecastingcontainer01 --sku Basic

az acr login --name azuremlforecastingcontainer01

docker tag pysparkforecast azuremlforecastingcontainer01.azurecr.io/pypsparkforecast:latest

docker push azuremlforecastingcontainer01.azurecr.io/pypsparkforecast:latest

About

Train Machine Learning Job using Azure ML computing and a custom docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published