-2

My laptop has NVIDIA GeForce GTX1650 GPU. I want to utilize this GPU to run my Python script. Any help in the form of code would be really helpful. I mean tried researching this so much but I couldn't find.

Basically I am looping over all the frames of a video and at each frame I am using yolov8s-pose model to detect the keypoints. So since it is running on my CPU, it is very slow. So, that is the reason I need to know how to utilize my device's GPU to run it. Any help would be highly appreciated! Thank you.

Escanor6
  • 1
  • 1

1 Answers1

0

That is going to depend on the library you use. In general, the term you should google is Cuda along with your GPU. In TensorFlow I have used things like this and I would recommend looking here and here.

A_Arnold
  • 249
  • 1
  • 1