yolov7/scripts/test-cmds.sh
2025-04-14 10:44:27 +03:00

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())"