lllyasviel / lllyasviel/ControlNet

Control net for video conversion

Open
#378 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

I have observed that there are many videos using SD for animation (such as Rock-Paper-Scissors) that suffer from flickering issues, meaning there are inconsistencies in details between frames. I wonder if it's possible to train a control net to directly address this problem. For example:

During the training phase, the input control condition consists of k+1 consecutive images, where the first k images are extracted from the video's n-k to n-1 frames, and the last image is obtained by preprocessing the nth frame from the video (using tools like OpenPose or HED). The training objective is to restore the original nth frame image.

In the inference phase, the input ontrocl condition's first k images are generated by SD from the n-k to n-1 frames of the video, while the last image is preprocessed from the nth frame of the original video.

Alternatively, we could use a double control net, where one net is dedicated to inputting the previous k frames to control the details.

I hope that this approach can help resolve the flickering issue in SD-generated videos.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reviewing the repository's ControlNet training and inference entry points, then determine whether the proposed temporal-video conditioning fits the existing design. Done would require an agreed implementation scope and validation that generated video details remain consistent across frames.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.