Skip to content

ASHIF-MOHAMED/interpoGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Intermediate Flow Estimation for Video Frame Interpolation

Introduction

This project is the implement of Real-Time Intermediate Flow Estimation for Video Frame Interpolation. Currently, our model can run 30+FPS for 2X 720p interpolation on a 2080Ti GPU. It supports arbitrary-timestep interpolation between a pair of images.

2024.08 - We find that 4.22.lite is quite suitable for post-processing of some diffusion model generated videos.

2023.11 - We recently release new v4.7-4.10 optimized for anime scenes! We draw from SAFA's research.

2022.7.4 - Our paper is accepted by ECCV2022. Thanks to all relevant authors, contributors and users!

From 2020 to 2022, we submitted RIFE for five submissions(rejected by CVPR21 ICCV21 AAAI22 CVPR22). Thanks to all anonymous reviewers, your suggestions have helped to significantly improve the paper!

ECCV Poster | ECCV 5-min presentation | 论文中文介绍 | rebuttal (2WA1WR->3WA)

Pinned Software: RIFE-App | FlowFrames | SVFI (中文)

16X interpolation results from two input images:

Demo Demo

Quick Installation & Setup

We've made it easy to get started with interpoGen. Follow these simple steps:

1. Clone the Repository

git clone https://github.com/ASHIF-MOHAMED/interpoGen.git cd interpoGen

2. Automatic Setup (Recommended)

Run our setup script to automatically install all dependencies and download model weights:

python setup.py

This script will:

  • Install all required Python packages
  • Download and set up FFmpeg
  • Check for CUDA availability
  • Download the model weights

3. Manual Setup (Alternative)

If you prefer to set up manually:

# Install Python dependencies pip install -r requirements.txt # Download model weights (if not already present) # The model weights should be in train_log/flownet.pkl

You'll also need to install FFmpeg:

4. GPU Acceleration (Optional)

For better performance, install PyTorch with CUDA support:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Usage

Interpolate Images

python inference_img.py --img img0.png img1.png --exp=1

This will generate intermediate frames between img0.png and img1.png.

Process a Video

python inference_video.py --video input.mp4 --exp=1 --output output.mp4

Extract Frames from a Video/GIF

python runner1.py "path/to/video.mp4" extracted_frames

Process Extracted Frames

python inference1_img.py

(Edit the input/output folders in the script as needed)

Software

Flowframes | SVFI(中文) | Waifu2x-Extension-GUI | Autodesk Flame | SVP | MPV_lazy | enhancr

RIFE-App(Paid) | Steam-VFI(Paid)

We are not responsible for and participating in the development of above software. According to the open source license, we respect the commercial behavior of other developers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors