Skip to content

Add batch json output and chunked inference#25

Open
StefanFabian wants to merge 3 commits intogoogle:mainfrom
StefanFabian:main
Open

Add batch json output and chunked inference#25
StefanFabian wants to merge 3 commits intogoogle:mainfrom
StefanFabian:main

Conversation

@StefanFabian
Copy link

This also fixes #24
Main changes are:

  • Introduction of an option --batch_json_output to output the full result information, including frame scores, when using batch mode.
  • Chunked loading and processing of the video.
    This enables processing of longer videos, which would otherwise cause out-of-memory errors.
    A new option --chunk_size_frames is added to allow users to set a value that can fit in their GPU memory.

@google-cla
Copy link

google-cla bot commented Jan 2, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single video inference fails with cuda

1 participant