Hello i have a problem or maybe more of a question. Im working on a object detection project i trained my yolov9 model and now i want to test it. But every time i test it i have low fps on my webcam. its using my cpu instead of gpu .
<code>`Ultralytics YOLOv8.2.48 ???? Python-3.12.4 torch-2.3.1+cpu CPU (AMD Ryzen 7 5800H with Radeon Graphics)
YOLOv9c summary (fused): 384 layers, 25321561 parameters, 0 gradients, 102.3 GFLOPs
`
</code>
<code>`Ultralytics YOLOv8.2.48 ???? Python-3.12.4 torch-2.3.1+cpu CPU (AMD Ryzen 7 5800H with Radeon Graphics)
YOLOv9c summary (fused): 384 layers, 25321561 parameters, 0 gradients, 102.3 GFLOPs
`
</code>
`Ultralytics YOLOv8.2.48 ???? Python-3.12.4 torch-2.3.1+cpu CPU (AMD Ryzen 7 5800H with Radeon Graphics)
YOLOv9c summary (fused): 384 layers, 25321561 parameters, 0 gradients, 102.3 GFLOPs
`
also when i test for gpu i get :
<code>
`import torch
print(torch.__version__)
if torch.cuda.is_available():
print(f"GPU Name: {torch.cuda.get_device_name(0)}")
print(f"GPU Is Available: {torch.cuda.is_available()}")
else:
print("GPU is not available")`
</code>
<code>
`import torch
print(torch.__version__)
if torch.cuda.is_available():
print(f"GPU Name: {torch.cuda.get_device_name(0)}")
print(f"GPU Is Available: {torch.cuda.is_available()}")
else:
print("GPU is not available")`
</code>
`import torch
print(torch.__version__)
if torch.cuda.is_available():
print(f"GPU Name: {torch.cuda.get_device_name(0)}")
print(f"GPU Is Available: {torch.cuda.is_available()}")
else:
print("GPU is not available")`
2.3.1+cpu
GPU is not available
is there a way to make it faster not 1 frame per 2 seconds :/
i tried isntaling cuda, i want to use gpu for faster image processing
New contributor
Bartosz Ogórek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.