HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Learnable Gated Temporal Shift Module for Deep Video Inpainting

Ya-Liang Chang; Zhe Yu Liu; Kuan-Ying Lee; Winston Hsu

Learnable Gated Temporal Shift Module for Deep Video Inpainting

Abstract

How to efficiently utilize temporal information to recover videos in a consistent way is the main issue for video inpainting problems. Conventional 2D CNNs have achieved good performance on image inpainting but often lead to temporally inconsistent results where frames will flicker when applied to videos (see https://www.youtube.com/watch?v=87Vh1HDBjD0&list=PLPoVtv-xp_dL5uckIzz1PKwNjg1yI0I94&index=1); 3D CNNs can capture temporal information but are computationally intensive and hard to train. In this paper, we present a novel component termed Learnable Gated Temporal Shift Module (LGTSM) for video inpainting models that could effectively tackle arbitrary video masks without additional parameters from 3D convolutions. LGTSM is designed to let 2D convolutions make use of neighboring frames more efficiently, which is crucial for video inpainting. Specifically, in each layer, LGTSM learns to shift some channels to its temporal neighbors so that 2D convolutions could be enhanced to handle temporal information. Meanwhile, a gated convolution is applied to the layer to identify the masked areas that are poisoning for conventional convolutions. On the FaceForensics and Free-form Video Inpainting (FVI) dataset, our model achieves state-of-the-art results with simply 33% of parameters and inference time.

Code Repositories

amjltc295/Free-Form-Video-Inpainting
Official
pytorch
Mentioned in GitHub
shesay-noway/Free-Form-Video-Inpainting
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
video-inpainting-on-davisLGTSM
Ewarp: 0.1640
PSNR: 28.57
SSIM: 0.9409
VFID: 0.170
video-inpainting-on-youtube-vosLGTSM
Ewarp: 0.1859
PSNR: 29.74
SSIM: 0.9504
VFID: 0.070

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Learnable Gated Temporal Shift Module for Deep Video Inpainting | Papers | HyperAI