NVIDIA-AI-IOT / trt_pose

Real-time pose estimation accelerated with NVIDIA TensorRT
MIT License
982 stars 293 forks source link

Is image batch processing supported? #168

Open AlbertoOddness opened 1 year ago

AlbertoOddness commented 1 year ago

Currently I'm trying to process a set of images at once, which should result in a performance increase.

I can create the trt plan with batch sizes by setting the input like torch.zeros((BATCH_SIZE, 3, HEIGHT, WIDTH)), but it seems like this doesn't produce proper outputs?

Is there a way to use this repo with batch support?

Thanks!