Downloads · 30 days
0
rsortino/trf-sg2im
trf-sg2im is a text-to-image model from rsortino. Use it when you need an image from a text prompt. It is set up for transformers. The card lists the license as apache-2.0.
Model card for the paper "Transformer-Based Image Generation from Scene Graphs". Original GitHub implementation here.
Downloads · 30 days
0
Access
Public
Updated Jan 30, 2024
Repo size
1.4 GB
Likes
0
Public
Click a slice to open those files.
.ckpt980 MB · 71%
From the Hugging Face model README
Model card for the paper "Transformer-Based Image Generation from Scene Graphs". Original GitHub implementation here.

This model is a two-stage scene-graph-to-image approach. It takes a scene graph as input and generates a layout using a transformer-based architecture with Laplacian Positional Encoding. Then, it uses this estimated layout to condition an autoregressive GPT-like transformer to compose the image in the latent, discrete space, converted into the final image by a VQVAE.

For usage instructions, please refer to the original GitHub repo.
Comparison with other state-of-the-art approaches
