mirror of
https://github.com/WongKinYiu/yolov7.git
synced 2025-06-03 21:54:57 +08:00
4 lines
216 B
Bash
4 lines
216 B
Bash
python -c "import cv2;print(cv2.cuda.getCudaEnabledDeviceCount())"
|
|
python3 -c "import cv2;print(cv2.cuda.getCudaEnabledDeviceCount())"
|
|
dpkg -l | grep "opencv"
|
|
python -c "import torch;print(torch.cuda.is_available())" |