KirubaLS's picture
Organize ParcelGuard and document methodology and real inference diagnostics
4cf5f4e verified
|
Raw History Blame Contribute Delete
658 Bytes

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

pip install -r requirements.txt

4. Verify installation

python -c "import torch, torchvision, cv2, PIL; print(torch.__version__, torchvision.__version__); print('CUDA:', torch.cuda.is_available())"