Closed evan-kolberg closed 1 year ago
I'm facing similar issue even if I downgrade the cuda version to 11.3. Even though it works fine when using the CPU version
Command: python detect.py --source city-people.jpg --device cpu Same with me. I am able to get a visual by using the cpu, but it isn't exactly ideal since I have a perfectly fine CUDA gpu that can be used.
Please force set half to False if your GPU does not have tensor core.
Setting the var half to False on line 31 worked! Thank you!
Main issue ↓
The program is running without producing any visual representation (output) of what is happening. The input image is the same as the output and even after specifying to save txt and conf, nothing is stored in the labels directory.
Attempt 1 ↓
Command used: python detect.py --source city-people.jpg
Input image ↓
Output image in runs\detect\exp ↓
As pictured above, no changes were saved onto the output image
Attempt 2 ↓
Command used: python detect.py --weights yolov7.pt --source city-people.jpg --view-img --save-txt --save-conf --conf-thres 0.10
Nothing was saved in labels and no changes were made to the city-people.jpg
Situation conditions ↓
Attempt 3 ↓
Command: python detect.py --weights yolov7.pt --conf 0.25 --img-size 640 --source inference/images/horses.jpg
Instead of running detect.py using my own image, I used the default image that came with the repo and still reproduced the same issue.
Output image ↓