编译darknet时已经安装了cuda、cudnn
PyTorch Build : Stable (1.12.0)
Your OS : Linux
Package : Pip
Language : Python
Compute Platform : CUDA 11.6(安装的是11.7)
Run this Command:
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
sudo apt install python3-pip
pip3 install torch torchvision torchaudio --extra-