Skip to content
프로젝트

소개

CVPR 2025 Workshop on CVEU.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

KnobGen

  • Official Implementation of KnobGen paper.

Controlling the Sophistication of Artwork in Sketch-Based Diffusion Models

KnobGen is a dual-pathway framework that empowers sketch-based image generation diffusion model by seamlessly adapting to varying levels of sketch complexity and user skill. KnobGen employs a Coarse-Grained Controller (CGC) module for leveraging high-level semantics from both textual and sketch inputs in the early stages of generation, and a Fine-Grained Controller (FGC) module for detailed refinement later in the process.

KnobGen Architecture

More details available in our paper.

Quick Demo

KnobGen Architecture

:rocket: News

  • [2024-09-27] 🔥 Initial release of KnobGen code!
  • [2024-10-02] 🔥 The paper is released on arXiv.

Table of Contents

Follow steps 1-3 to run our pipeline.

  1. Installation
  2. Prepare the Dataset
  3. Train
  4. Inference
  5. Results

Installation

To set up the environment, please follow these steps in the terminal:

git clone https://github.com/aminK8/KnobGen.git
cd KnobGen
conda env create -f environment.yml
conda activate knobgen

Prepare the Dataset

We utilized the MultiGen-20M dataset, originally introduced by UniControl.

Train

For run training, use the appropriate command based on the model:

# For T2I-Adapter:
bash job_adapter_training.sh

# For ControlNet:
bash job_controlnet_training.sh

Inference

To run inference, use the appropriate command based on the model:

# For T2I-Adapter:
bash job_adapter_inference.sh

# For ControlNet:
bash job_controlnet_inference.sh

Results

Our method democratizes sketch-based image generation by effectively handling a broad spectrum of sketch complexity and user drawing ability—from novice sketches to those made by seasoned artists—while maintaining the natural appearance of the image.

Process Demonstration
More demos
Static Image
Comparison With Baseline

KnobGen Spectrum
The effect of our Knob mechanism

Citation

If you liked our paper, please consider citing it

@misc{navardknobgen,
      title={KnobGen: Controlling the Sophistication of Artwork in Sketch-Based Diffusion Models}, 
      author={Pouyan Navard and Amin Karimi Monsefi and Mengxi Zhou and Wei-Lun Chao and Alper Yilmaz and Rajiv Ramnath},
      year={2024},
      eprint={2410.01595},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2410.01595}, 
}

관련 프로젝트 살펴보기

불러오는 중…