Skip to content

denisa-ms/mlops-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure ML - MLOps demos

Requirements

  • VsCode
  • Python 3.7
  • A virtual environment tool (venv)
  • An Azure account
  • An Azure ML workspace

Preparation

VsCode

Python

Python3 Virtualenv Setup

  • Installation To install virtualenv via pip run: $ pip3 install virtualenv

  • Creation of virtualenv:

    • Windows $ python -m virtualenv venv (in the openAI workshop directory)
    • Mac $ virtualenv -p python3

    Activate the virtualenv: $ source /bin/activate

    Deactivate the virtualenv: $ deactivate

Python3 Virtualenv Setup

  • Installation To install virtualenv via pip run: $ pip3 install virtualenv
  • Creation of virtualenv:
    • Windows $ python -m virtualenv venv (in the openAI workshop directory)
    • Mac $ virtualenv -p python3

Install all libraries in your virtual environment

  • Activate the environment Windows: .\venv\Scripts\activate.ps1 Mac: $ source ./venv/bin/activate

  • Make sure you have the requirements installed in your Python environment using pip install -r requirements.txt.

IMPORTANT!

Setup environment variables

  • Rename the '.env.template' file to '.env' and modify as follows:
SUBSCRIPTION_ID = "<azure subscription id here>"
RESOURCE_GROUP = "<resource group>"
AML_WORKSPACE_NAME = "<azure ml worskpace name>"

Save the .env file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages