From 55e422d3366f1b6f0e707aa4cc26817d87dd28be Mon Sep 17 00:00:00 2001 From: Lucashygi <49172033+Lucashygi@users.noreply.github.com> Date: Sun, 26 Jan 2025 08:39:07 -0300 Subject: [PATCH] Fix Python Version Recommendation in AzureML Quickstart (#18889) Signed-off-by: Lucashygi <49172033+Lucashygi@users.noreply.github.com> --- docs/en/guides/azureml-quickstart.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/en/guides/azureml-quickstart.md b/docs/en/guides/azureml-quickstart.md index 99bb62a2..b472e5fb 100644 --- a/docs/en/guides/azureml-quickstart.md +++ b/docs/en/guides/azureml-quickstart.md @@ -46,10 +46,11 @@ Start your compute and open a Terminal: ### Create virtualenv -Create your conda virtualenv and install pip in it: +Create your conda virtualenv with your favorite python version and install pip in it: +Python 3.13.1 is having some issues with some dependecies in AzureML. ```bash -conda create --name yolo11env -y +conda create --name yolo11env -y python=3.12 conda activate yolo11env conda install pip -y ``` @@ -89,10 +90,10 @@ Open the compute Terminal. Open Terminal

-From your compute terminal, you need to create a new ipykernel that will be used by your notebook to manage your dependencies: +From your compute terminal, you need to create a new ipykernel (with a specific python version - because Python 3.13.1 is having some issues with some dependecies in AzureML) that will be used by your notebook to manage your dependencies: ```bash -conda create --name yolo11env -y +conda create --name yolo11env -y python=3.12 conda activate yolo11env conda install pip -y conda install ipykernel -y @@ -159,10 +160,10 @@ Running YOLO11 on AzureML for model training involves several steps: 1. **Create a Compute Instance**: From your AzureML workspace, navigate to Compute > Compute instances > New, and select the required instance. -2. **Setup Environment**: Start your compute instance, open a terminal, and create a conda environment: +2. **Setup Environment**: Start your compute instance, open a terminal, and create a conda environment, and don't forget to set your python version (python 3.13.1 is not supported yet) : ```bash - conda create --name yolo11env -y + conda create --name yolo11env -y python=3.12 conda activate yolo11env conda install pip -y pip install ultralytics onnx>=1.12.0