How to run a python code GPU in Jetson TX2?

I have a Python face recognition code, which is running on my laptop CPU. I want to run the same Python face recognition code on Jetson TX2 GPU(CUDA) to process the frames fast. When i tried running the same code python code the frame processing became much slower(I assume that it is running on jetson’s CPU). Someone please help me to run my python face recognition code on Jetson GPU.

We would suggest you use DeepStream SDK. You can install it through SDK manager.
Documents are in

A python-based sample is in

Hi… I am newbie to jetson. I have run real time person detection python code using CPU. fps is low. So I used jetson nano to improve fps. But there is no improvement. I have already installed jetpack 4.4.1. what to do?..Please help me…