Fix Python Version Recommendation in AzureML Quickstart (#18889)

Signed-off-by: Lucashygi <49172033+Lucashygi@users.noreply.github.com>
This commit is contained in:
Lucashygi 2025-01-26 08:39:07 -03:00 committed by GitHub
parent de05d1b655
commit 55e422d336
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
<img width="480" src="https://github.com/ultralytics/docs/releases/download/0/open-terminal.avif" alt="Open Terminal">
</p>
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