Replies: 2 comments 1 reply
-
No box appears using GPU,but there is a detection box when using the CPU |
Beta Was this translation helpful? Give feedback.
-
@li33609 yes, sorry, this is a known issue that occurs sometimes with PyTorch on Windows. It appears you may have environment problems. Please ensure you meet all dependency requirements if you are attempting to run YOLOv5 locally. If in doubt, create a new virtual Python 3.8 environment, clone the latest repo (code changes daily), and RequirementsPython 3.8 or later with all requirements.txt dependencies installed, including $ pip install -r requirements.txt EnvironmentsYOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are passing. These tests evaluate proper operation of basic YOLOv5 functionality, including training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
I have GTX1650 but do not use it to detect but I can use CPU to detect.
detect bus.jpg and zidane.jpg
My cuda is 11.1. CPU is 4800H.
Beta Was this translation helpful? Give feedback.
All reactions