# Installation ## 1. Create an environment Use a Python version supported by the selected PyTorch release. ## 2. Install PyTorch and torchvision Install a compatible pair of PyTorch and torchvision for your platform. For GPU use, select the CUDA build supported by your NVIDIA driver. For CPU use, select the CPU build. Use the official selector: https://pytorch.org/get-started/locally/ ## 3. Install remaining dependencies ```bash pip install -r requirements.txt ``` ## 4. Verify installation ```bash python -c "import torch, torchvision, cv2, PIL; print(torch.__version__, torchvision.__version__); print('CUDA:', torch.cuda.is_available())" ```