Jetson Nano Pytorch : moving image to cuda takes too much time

Hi, I met a problem when moving image to cuda using Pytorch. It takes too much time.
500X500 takes about 300 ms, 300X300 takes 100ms, 224X224 takes 47ms. I’m using Pytorch 1.6.0, python version. Do you guys have any idea about this?

Hi,

In case you don’t know.
You can maximize the device performance with the following command:

$ sudo nvpmodel -m 0
$ sudo jetson_clocks

Thanks.