Buckets:
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .gitattributes | 1.52 kB xet | 818ba6de | |
| README.md | 2.68 kB xet | 797dbbef | |
| asuka_alignment_clip.pt | 71.7 MB xet | b5330f04 | |
| asuka_alignment_t5.pt | 2.02 GB xet | 1a75459f | |
| asuka_decoder.ckpt | 807 MB xet | c093ef8a | |
| img_ids_1024.pt | 50.4 kB xet | b47a06bc | |
| img_ids_512.pt | 13.5 kB xet | aad52f6d | |
| mae_300.pth | 1.34 GB xet | c0c9dfa4 | |
| txt.pt | 1.05 MB xet | 3199eb66 | |
| txt_256.pt | 2.1 MB xet | 41586338 | |
| txt_ids.pt | 2.72 kB xet | da126b20 | |
| vec.pt | 2.73 kB xet | 9a578138 |
Towards Enhanced Image Inpainting:
Mitigating Unwanted Object Insertion and Preserving Color Consistency
Fudan University
CVPR 2025 (Highlight)
Overview
This repo contains the proposed ASUKA model in our paper "Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency".
ASUKA solves two issues existed in current diffusion and rectified flow inpainting models: Unwanted object insertion, where randomly elements that are not aligned with the unmasked region are generated; Color-inconsistency, the color shift of the generated masked region, causing smear-like traces. ASUKA proposes a post-training procedure for these models, significantly mitigates object hallucination and improves color consistency of inpainted results.
We released ASUKA for FLUX.1-Fill-dev, denoted as ASUKA(FLUX.1-Fill). The code and dataset can be found at here. We are actively working to improve both our model and evaluation dataset. If you encounter failure cases with ASUKA (FLUX.1-Fill) or have challenging examples in image inpainting, we would love to hear from you. Please email them to yi-kai.wang@outlook.com. We truly appreciate your contributions!
Modifications to FLUX
- The text conditional input of CLIP and T5 is replaced by the MAE condition to mitigate object hallucination.
- The decoder is replaced by our conditional decoder to enhance color consistency.
BibTeX
If you find our repo helpful, please consider cite our paper :)
@inproceedings{wang2025towards,
title={Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency.},
author={Wang, Yikai and Cao, Chenjie and Yu, Junqiu and Fan, Ke and Xue, Xiangyang and Fu, Yanwei},
booktitle={Proceedings of the IEEE/CVF conference on computer vision and pattern recognition},
year={2025}
}
- Total size
- 4.24 GB
- Files
- 12
- Last updated
- May 29
- Pre-warmed CDN
- US EU US EU