trt_pose icon indicating copy to clipboard operation
trt_pose copied to clipboard

FPS on Jetson Xavier

Open IsmaelElHouas opened this issue 4 years ago • 4 comments

Hi! I achieved to run Resnet18 on Jetson Xavier with a result of 30 fps. How did you get the performance of 251 fps?

Thanks

IsmaelElHouas avatar May 05 '20 08:05 IsmaelElHouas

hi @IsmaelElHouas, 251 FPS you got is only inference time (without postprocessing time called paf process). Anyway, I obtained overall 7fps when running densenet121 320x320 on jetson tx2. So on Xavier, It should be better.

thancaocuong avatar May 19 '20 04:05 thancaocuong

Fyi, I got 128fps on a Xavier NX, so I guess 251fps on a Xavier AGX makes sense. I have used the 2 cores/15W mode, i.e. dedicating as much power envelope to the GPU as possible. E.g. if I select the 4cores/15W power mode then the fps drops to 82. Just in case you did not consider the power modes carefully.

Tetsujinfr avatar Jun 02 '20 02:06 Tetsujinfr

@IsmaelElHouas , @thancaocuong , may i know which version of pytorch and torchvision you installed to run the inference ? I always met this issue all the time. image

jasonakon avatar Jul 20 '20 09:07 jasonakon

@jasonakon you need to remove trt_pose completely and reinstall. On jetsonNX, and Jetson TX2 I use torch1.5.0 with jetpack 4.4. So you can try to use lastest jetpack version. I use it without any problems. You can follow this guild to get compatible pytorch version https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-5-0-now-available/72048

thancaocuong avatar Jul 20 '20 09:07 thancaocuong