Skip to content

AzureML

Ryan Loney edited this page May 9, 2021 · 37 revisions

Instructions to Run the Notebooks in Azure ML Studio

The steps below assume you have an Azure account and access to the Azure ML Studio.

Step 0: Add a Compute Instance

In Azure ML Studio, add a compute instance and pick any CPU-based instance (No GPU required).
createnew

Once the instance is running, open the terminal and run the steps below.
final

Step 1: Create a Conda Environment

conda create --name openvino_env python=3.6 -y

Step 2: Activate the Environment

conda activate openvino_env

Step 3: Install pip and ipykernel

conda install pip ipykernel -y

Step 4: Clone OpenVINO Notebooks

git clone https://github.com/openvinotoolkit/openvino_notebooks.git

Step 5: Change Directory to openvino_notebooks

cd openvino_notebooks

Step 6: Upgrade pip and Install Requirements

python -m pip install --upgrade pip
pip install -r requirements.txt --use-deprecated=legacy-resolver

Step 7: Add openvino_env to PATH

set PATH="/anaconda/envs/openvino_env/bin;%PATH%"

Step 8: Install the virtualenv Kernel in Jupyter

python -m ipykernel install --user --name openvino_env

Step 9: Run the Notebooks!

To run the notebooks, click on Notebooks and refresh your Files:
refresh

Select a notebook:
hello-world

Then run all cells:
run