这是indexloc提供的服务,不要输入任何密码
Skip to content

Add TransNetV2ClipExtractionStage to video splitting pipeline #809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: aot/ray-video-video-frame-extraction
Choose a base branch
from

Conversation

suiyoubi
Copy link
Contributor

  • Replaced the FixedStrideExtractorStage with TransNetV2ClipExtractionStage in the video split clip example to enhance clip extraction capabilities using the TransNetV2 model.
  • Updated command-line arguments to include parameters specific to the TransNetV2 stage, such as thresholds and clip length settings.
  • Introduced a new models package and added the TransNetV2 model implementation for shot transition detection.

Description

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

- Replaced the `FixedStrideExtractorStage` with `TransNetV2ClipExtractionStage` in the video split clip example to enhance clip extraction capabilities using the TransNetV2 model.
- Updated command-line arguments to include parameters specific to the TransNetV2 stage, such as thresholds and clip length settings.
- Introduced a new models package and added the TransNetV2 model implementation for shot transition detection.

Signed-off-by: Ao Tang <aot@nvidia.com>
Copy link

copy-pr-bot bot commented Jul 16, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

suiyoubi added 2 commits July 16, 2025 10:12
- Updated the video splitting pipeline to use `video_dir` instead of `video_folder` for input video paths, improving clarity in command-line arguments.
- Added `model_dir` argument to support model directory specification for the TransNetV2 model.
- Modified `TransNetV2ClipExtractionStage` to accept `model_dir` during initialization, ensuring proper model loading.
- Introduced unit tests for the TransNetV2 model classes to validate functionality and integration.

Signed-off-by: Ao Tang <aot@nvidia.com>
…tion' into aot/ray-video-transnet-clip-extraction

Signed-off-by: Ao Tang <aot@nvidia.com>
@suiyoubi suiyoubi force-pushed the aot/ray-video-transnet-clip-extraction branch from 1081431 to c7e4990 Compare July 18, 2025 16:01
…o-transnet-clip-extraction

Signed-off-by: Ao Tang <aot@nvidia.com>
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.

1 participant