Coder Social home page Coder Social logo

single-styleboost's Introduction

Single-StyleBoost

PyTorch implementation of the paper "Single-StyleBoost"

paper: https://doi.org/10.1109/ICTC58733.2023.10392676

Recent advancements in text-to-image models, such as Stable Diffusion, have demonstrated their ability to synthesize visual images through natural language prompts. One approach of personalizing text-to-image models, exemplified by Dream-Booth, fine-tunes the pre-trained model by binding unique text identifiers with a few images of a specific subject. Although existing fine-tuning methods have demonstrated competence in rendering images according to the styles of famous painters, it is still challenging to learn to produce images encapsulating distinct art styles due to abstract and broad visual perceptions of stylistic attributes such as lines, shapes, textures, and colors. In this paper, we present a new fine-tuning method, called StyleBoost, that equips pre-trained text-to-image models to produce diverse images in specified styles from text prompts. By leveraging around 15 to 20 images of StyleRef and Aux images each, our approach establishes a foundational binding of a unique token identifier with a broad realm of the target style, where the Aux images are carefully selected to strengthen the binding. This dual-binding strategy grasps the essential concept of art styles and accelerates learning of diverse and comprehensive attributes of the target style. Experimental evaluation conducted on three distinct styles - realism art, SureB art, and anime - demonstrates substantial improvements in both the quality of generated images and the perceptual fidelity metrics, such as FID and CLIP scores.

over_fig3

Repository Overview

There are several directories in this repo:

  • training_dreambooth.py is the code for learning the DreamBooth model.
  • training_code.py represents the source code for learning the model.
  • cmd_.py is the source code in which the learned model is executed by the prompt.

Citation

@INPROCEEDINGS{10392676,
  author={Park, Junseo and Ko, Beomseok and Jang, Hyeryung},
  booktitle={2023 14th International Conference on Information and Communication Technology Convergence (ICTC)}, 
  title={StyleBoost: A Study of Personalizing Text-to-Image Generation in Any Style using DreamBooth}, 
  year={2023},
  volume={},
  number={},
  pages={93-98},
  keywords={Training;Measurement;Visualization;Art;Shape;Natural languages;Transforms;text-to-image models;diffusion models;person-alization;fine-tuning},
  doi={10.1109/ICTC58733.2023.10392676}}

single-styleboost's People

Contributors

matrix215 avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.