Fix Python Version Recommendation in AzureML Quickstart (#18889)
Signed-off-by: Lucashygi <49172033+Lucashygi@users.noreply.github.com>
This commit is contained in:
parent
de05d1b655
commit
55e422d336
1 changed files with 7 additions and 6 deletions
|
|
@ -46,10 +46,11 @@ Start your compute and open a Terminal:
|
||||||
|
|
||||||
### Create virtualenv
|
### 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
|
```bash
|
||||||
conda create --name yolo11env -y
|
conda create --name yolo11env -y python=3.12
|
||||||
conda activate yolo11env
|
conda activate yolo11env
|
||||||
conda install pip -y
|
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">
|
<img width="480" src="https://github.com/ultralytics/docs/releases/download/0/open-terminal.avif" alt="Open Terminal">
|
||||||
</p>
|
</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
|
```bash
|
||||||
conda create --name yolo11env -y
|
conda create --name yolo11env -y python=3.12
|
||||||
conda activate yolo11env
|
conda activate yolo11env
|
||||||
conda install pip -y
|
conda install pip -y
|
||||||
conda install ipykernel -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.
|
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
|
```bash
|
||||||
conda create --name yolo11env -y
|
conda create --name yolo11env -y python=3.12
|
||||||
conda activate yolo11env
|
conda activate yolo11env
|
||||||
conda install pip -y
|
conda install pip -y
|
||||||
pip install ultralytics onnx>=1.12.0
|
pip install ultralytics onnx>=1.12.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue