aleeyanger commited on
Commit
9af0a4c
·
verified ·
1 Parent(s): db5b29c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -2
README.md CHANGED
@@ -1,4 +1,66 @@
1
  ---
2
- license: cc-by-nc-4.0
3
  pipeline_tag: video-to-video
4
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-nc-4.0
3
  pipeline_tag: video-to-video
4
+ library_name: diffusers
5
+ ---
6
+
7
+ # EffectErase: Joint Video Object Removal and Insertion for High-Quality Effect Erasing
8
+
9
+ [![Project Page](https://img.shields.io/badge/🐳-Project%20Page-blue)](https://henghuiding.com/EffectErase/) [![Paper](https://img.shields.io/badge/Paper-CVPR%202026-green)](https://cvpr.thecvf.com/virtual/2026/papers.html) [![GitHub](https://img.shields.io/badge/GitHub-FudanCVL%2FEffectErase-181717?logo=github)](https://github.com/FudanCVL/EffectErase) [![arXiv](https://img.shields.io/badge/arXiv-EffectErase-red)](http://arxiv.org/) [![Dataset](https://img.shields.io/badge/%F0%9F%A4%97%20Dataset-Hugging%20Face-yellow)](https://huggingface.co/datasets/FudanCVL/EffectErase_VOR)
10
+
11
+ This repository provides the checkpoint `EffectErase.ckpt` for **EffectErase**.
12
+
13
+ <img src="assets/teaser.gif" alt="teaser" />
14
+
15
+ ## Abstract
16
+
17
+ Video object removal aims to eliminate dynamic target objects and their visual effects, such as deformation, shadows, and reflections, while restoring seamless backgrounds. Recent diffusion-based video inpainting and object removal methods can remove the objects but often struggle to erase these effects and to synthesize coherent backgrounds. Beyond method limitations, progress is further hampered by the lack of a comprehensive dataset that systematically captures common object effects across varied environments for training and evaluation. To address this, we introduce **VOR** (**V**ideo **O**bject **R**emoval), a large-scale dataset that provides diverse paired videos, each consisting of one video where the target object is present with its effects and a counterpart where the object and effects are absent, with corresponding object masks. VOR contains 60k high-quality video pairs from captured and synthetic sources, covers five effects types, and spans a wide range of object categories as well as complex, dynamic multi-object scenes. Building on VOR, we propose ***EffectErase***, an effect-aware video object removal method that treats video object insertion as the inverse auxiliary task within a reciprocal learning scheme. The model includes task-aware region guidance that focuses learning on affected areas and enables flexible task switching. Then, an insertion–removal consistency objective that encourages complementary behaviors and shared localization of effect regions and structural cues. Trained on VOR, EffectErase achieves superior performance in extensive experiments, delivering high-quality video object effect erasing across diverse scenarios.
18
+
19
+ ## Quick Start
20
+
21
+ 1. Setup repository and environment
22
+
23
+ ```bash
24
+ git clone git@github.com:FudanCVL/EffectErase.git
25
+ cd EffectErase
26
+ pip install -e .
27
+ ```
28
+
29
+ 2. Download weights
30
+
31
+ ```bash
32
+ hf download alibaba-pai/Wan2.1-Fun-1.3B-InP --local-dir Wan-AI/Wan2.1-Fun-1.3B-InP
33
+ hf download FudanCVL/EffectErase EffectErase.ckpt --local-dir ./
34
+ ```
35
+
36
+ 3. Run the script
37
+
38
+ ```bash
39
+ bash script/test_remove.sh
40
+ ```
41
+
42
+ You can edit `script/test_remove.sh` and change these three paths to use your own data:
43
+
44
+ - `--fg_bg_path`
45
+ - `--mask_path`
46
+ - `--output_path`
47
+
48
+ `--mask_path` is a mask video generated by SAM2.1 (`sam2.1_hiera_b+`), aligned with `--fg_bg_path`.
49
+
50
+ ## BibTeX
51
+
52
+ Please consider to cite:
53
+
54
+ ```bibtex
55
+ @inproceedings{fu2026effecterase,
56
+ title={EffectErase: Joint Video Object Removal and Insertion for High-Quality Effect Erasing},
57
+ author={Fu, Yang and Zheng, Yike and Dai, Ziyun and Ding, Henghui},
58
+ booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
59
+ year={2026}
60
+ }
61
+ ```
62
+
63
+ ## Contact
64
+
65
+ If you have any questions, please feel free to reach me out at aleeyanger@gmail.com.
66
+