← 开源
dome272

Wuerstchen

Official implementation of Würstchen: Efficient Pretraining of Text-to-Image Models

Model DevelopmentArchitectureJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
553
Star
34
Fork
+0
本周
5
贡献者
创建于 2023-05-24 · 更新于 2026-10-07 · 今日第 17157 名
主要开发者
dome272maubrevilleeltociear

dome272/Wuerstchen 排名第 17,157,有 553 个星标。

同类别比较

dome272/Wuerstchen 排名第 17,157,此处有 8 个同类条目;facebookresearch/SymbolicMathematics 排名第 17,158。

同类别比较
名称排名指标
OniroAI/MonoDepth-PyTorch17,132
语言:
Python
星标数:
554
分叉数:
128
简介:
Unofficial implementation of Unsupervised Monocular Depth Estimation neural network MonoDepth in PyTorch
patrikeh/go-deep17,145
语言:
Go
星标数:
554
分叉数:
68
简介:
Artificial Neural Network
HannesStark/EquiBind17,150
语言:
Python
星标数:
553
分叉数:
117
简介:
EquiBind: geometric deep learning for fast predictions of the 3D structure in which a small molecule binds to a protein
broadinstitute/keras-rcnn17,154
语言:
Python
星标数:
553
分叉数:
218
简介:
Keras package for region-based convolutional neural networks (RCNNs)
facebookresearch/SymbolicMathematics17,158
语言:
Python
星标数:
553
分叉数:
121
简介:
Deep Learning for Symbolic Mathematics
lee-zq/3DUNet-Pytorch17,160
语言:
Python
星标数:
553
分叉数:
107
简介:
3DUNet implemented with pytorch
taki0112/Self-Attention-GAN-Tensorflow17,163
语言:
Python
星标数:
553
分叉数:
147
简介:
Simple Tensorflow implementation of "Self-Attention Generative Adversarial Networks" (SAGAN)
uber-research/LaneGCN17,164
语言:
Python
星标数:
553
分叉数:
132
简介:
[ECCV2020 Oral] Learning Lane Graph Representations for Motion Forecasting
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Model Development
子类别Architecture
关键词Diffusion, Text-to-image
星标数553
分叉数34
贡献者5
创建日期2023-05-24
更新日期2026-10-07
1 天星标数0
7 天星标数0
排名17,157
上次排名16,942
排名变化-215
7 天星标排名15,937
上次 7 天星标排名15,945
7 天星标排名变化8
总星标排名17,896
上次总星标排名17,871
总星标排名变化-25
国家Germany
README 摘录

Würstchen (ICLR 2024, oral) What is this? Würstchen is a new framework for training text-conditional models by moving the computationally expensive text-conditional stage into a highly compressed latent space. Common approaches make use of a single stage compression, while Würstchen introduces another Stage that introduces even more compression. In total we have Stage A & B that are responsible for compressing images and Stage C that learns the text-conditional part in the low dimensional latent

space. With that Würstchen achieves a 42x compression factor, while still reconstructing images faithfully. This enables training of Stage C to be fast and computationally cheap. Use Würstchen You can use the model simply through the notebooks here. The Stage B notebook only for reconstruction and the Stage C notebook is for the text-conditional generation. You can also try the text-to-image generation on Google Colab. Using in 🧨 diffusers Würstchen is fully integrated into the

library. Here's how to use it: Refer to the official documentation to learn more. Train your own Würstchen Training Würstchen is considerably faster and cheaper than other text-to-image as it trains in a much smaller latent space of 12x12. We provide training scripts for both Stage B and Stage C. 000| 512x512 | | Würstchen v2 | Hugging Face | 1B (Stage C) + 600M (Stage B) + 19M (Stage A) | CLIP-bigG-Text | 918. 000| 1024x1024 | Acknowledgment Special thanks to

Stability AI for providing compute for our research. Citation If you use our approach in your research or were inspired by it, we would be thrilled if you cite our paper:

常见问题

记录了多少星标和分叉?

dome272/Wuerstchen 有 553 个星标和 34 个分叉。

仓库排名是多少?

dome272/Wuerstchen 排名第 17,157。

记录的语言和类别是什么?

dome272/Wuerstchen 有 553 个星标,语言为 Jupyter Notebook,类别为 Model Development。

哪个仓库排名最接近?

dome272/Wuerstchen 与 facebookresearch/SymbolicMathematics 比较,后者排名第 17,158,有 553 个星标。

README

Würstchen (ICLR 2024, oral)

What is this?

Würstchen is a new framework for training text-conditional models by moving the computationally expensive text-conditional stage into a highly compressed latent space. Common approaches make use of a single stage compression, while Würstchen introduces another Stage that introduces even more compression. In total we have Stage A & B that are responsible for compressing images and Stage C that learns the text-conditional part in the low dimensional latent space. With that Würstchen achieves a 42x compression factor, while still reconstructing images faithfully. This enables training of Stage C to be fast and computationally cheap. We refer to the paper for details.

Use Würstchen

You can use the model simply through the notebooks here. The Stage B notebook only for reconstruction and the Stage C notebook is for the text-conditional generation. You can also try the text-to-image generation on Google Colab.

Using in 🧨 diffusers

Würstchen is fully integrated into the diffusers library. Here's how to use it:

# pip install -U transformers accelerate diffusers

import torch
from diffusers import AutoPipelineForText2Image
from diffusers.pipelines.wuerstchen import DEFAULT_STAGE_C_TIMESTEPS

pipe = AutoPipelineForText2Image.from_pretrained("warp-ai/wuerstchen", torch_dtype=torch.float16).to("cuda")

caption = "Anthropomorphic cat dressed as a fire fighter"
images = pipe(
    caption, 
    width=1024,
    height=1536,
    prior_timesteps=DEFAULT_STAGE_C_TIMESTEPS,
    prior_guidance_scale=4.0,
    num_images_per_prompt=2,
).images

Refer to the official documentation to learn more.

Train your own Würstchen

Training Würstchen is considerably faster and cheaper than other text-to-image as it trains in a much smaller latent space of 12x12. We provide training scripts for both Stage B and Stage C.

Download Models

Model Download Parameters Conditioning Training Steps Resolution
Würstchen v1 Hugging Face 1B (Stage C) + 600M (Stage B) + 19M (Stage A) CLIP-H-Text 800.000 512x512
Würstchen v2 Hugging Face 1B (Stage C) + 600M (Stage B) + 19M (Stage A) CLIP-bigG-Text 918.000 1024x1024

Acknowledgment

Special thanks to Stability AI for providing compute for our research.

Citation

If you use our approach in your research or were inspired by it, we would be thrilled if you cite our paper:

@inproceedings{
            pernias2024wrstchen,
            title={W\"urstchen: An Efficient Architecture for Large-Scale Text-to-Image Diffusion Models},
            author={Pablo Pernias and Dominic Rampas and Mats Leon Richter and Christopher Pal and Marc Aubreville},
            booktitle={The Twelfth International Conference on Learning Representations},
            year={2024},
            url={https://openreview.net/forum?id=gU58d5QeGv}
      }
排名相邻
同类项目