Fine-Tuning InstructPix2Pix for Advanced Image Colorization

Zifeng An, Zijing Xu, Eric Fan, Qi Cao
12/8/2023
cs.CVcs.AI

Official code: AllenAnZifeng/DeepLearning282 (17 stars, last commit 2023-12-06).

Abstract

This paper presents a novel approach to human image colorization by fine-tuning the InstructPix2Pix model, which integrates a language model (GPT-3) with a text-to-image model (Stable Diffusion). Despite the original InstructPix2Pix model's proficiency in editing images based on textual instructions, it exhibits limitations in the focused domain of colorization. To address this, we fine-tuned the model using the IMDB-WIKI dataset, pairing black-and-white images with a diverse set of colorization prompts generated by ChatGPT. This paper contributes by (1) applying fine-tuning techniques to stable diffusion models specifically for colorization tasks, and (2) employing generative models to create varied conditioning prompts. After finetuning, our model outperforms the original InstructPix2Pix model on multiple metrics quantitatively, and we produce more realistically colored images qualitatively. The code for this project is provided on the GitHub Repository https://github.com/AllenAnZifeng/DeepLearning282.

View on arXivView PDF

Code Implementations(1)

173Shell, MATLAB2 years ago

Similar Papers

Cite this paper

@article{an2023finetuning,
  title  = {Fine-Tuning InstructPix2Pix for Advanced Image Colorization},
  author = {Zifeng An and Zijing Xu and Eric Fan and Qi Cao},
  year   = {2023},
  eprint = {2312.04780},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.04780v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.04780.svg)](https://codeofpaper.com/paper/2312.04780)

Discussion