knoriy:

I would recommend using real-world data if possible for better results or passing a new tensor for each inf step (see example bellow)


I loaded a raw rgb image in the for loop first but no difference in inference time was seen.