From 8d0d300a9cab5148b781747753f04fd36d890d1c Mon Sep 17 00:00:00 2001 From: Cliff Njoroge <37869706+cliffordkleinsr@users.noreply.github.com> Date: Fri, 23 Feb 2024 09:18:51 +0300 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bb1220..f0841f2 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,9 @@ Original | Processed # Performance Optimizations 1. Moved the final scaling and uint8 quantization to GPU, reducing CPU and main memory bandwidth consumption. 2.5x speed-up. 2. Instruct FFMPEG to use RGB frames instead of BGR so no need to swap channels. -3. Batched inference (controlled by --batch parameter, default is 4). +3. Batched inference (controlled by invoking the --batch & --batches parameter, default is 4). 4. Instruct torch to make contiguous tensors after the BCHW -> BHWC transform on GPU. So no need to copy the buffer before writing to FFMPEG . Reduced output IO time by 10x. +5. Use NVENC pipilene when available to decode and encode the images when piping inputs # Open tasks 1. [X] Take a video frame and turn it into images