Install YOLO¶
This guide will help you set up YOLO on your machine. We recommend starting with Git & GitHub for more flexible customization. If you only need inference or simple customization, install via pip.
Torch Requirements¶
PyTorch: 1.12+
PyTorch: 1.12+
PyTorch: 2.2+
PyTorch: 2.2+
[WIP]
[WIP]
Git & GitHub¶
Clone the repository:
Or download directly via the ZIP archive.
Install all dependencies:
This creates a .venv virtual environment (if one doesn't exist), installs all dependencies (requirements-dev.txt + editable package install), and configures pre-commit hooks. You can override defaults:
For ONNX or TensorRT setup, see Inference & Deployment.
PyPI (pip install)¶
Note
Due to the yolo name already being occupied on PyPI, we provide installation via GitHub. Ensure git and pip are available in your shell.
Docker¶
Requires the NVIDIA Container Toolkit.
Conda¶
Coming soon.