Welcome to DOFBOT Pro repository
1. YOLO Environment Setup
YOLO Environment Setup
YOLO Environment Setup1. System Information2. Prerequisites3. Install Ultralytics4. Configure GPU Acceleration5. Verify InstallationCommon ErrorsCannot uninstall sympyError PhenomenonSolutionCSI Camera Cannot Be CalledVerify EnvironmentReferences
1. System Information

2. Prerequisites
sudo apt updatesudo apt install python3-pip -ysudo pip install -U pip
3. Install Ultralytics
xxxxxxxxxxsudo pip3 install ultralytics[export]
xxxxxxxxxxsudo reboot
4. Configure GPU Acceleration
Install the following software packages including torch 2.5.0, torchvision 0.20, cuSPARSELt, and onnxruntime-gpu:
torch
xxxxxxxxxxsudo pip3 install https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.5.0a0+872d972e41.nv24.08-cp310-cp310-linux_aarch64.whl
torchvision
xxxxxxxxxxsudo pip3 install https://github.com/ultralytics/assets/releases/download/v0.0.0/torchvision-0.20.0a0+afc54f7-cp310-cp310-linux_aarch64.whl
cuSPARSELt
xxxxxxxxxxwget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.debsudo dpkg -i cuda-keyring_1.1-1_all.debsudo apt-get updatesudo apt-get -y install libcusparselt0 libcusparselt-dev
onnxruntime-gpu
xxxxxxxxxxsudo pip3 install https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.20.0-cp310-cp310-linux_aarch64.whl
Note: Using onnxruntime-gpu requires installing a specific version of numpy. If it's not version 1.23.5, you can run the following command to install the specified version
xxxxxxxxxxsudo pip3 install numpy==1.23.5
5. Verify Installation
Verify Ultralytics
xxxxxxxxxxpython3 -c "import ultralytics; print(ultralytics.__version__)"
Verify Torch
xxxxxxxxxxpython3 -c "import torch; print(torch.__version__); print(torch.cuda.is_available())"
Verify Torchvision