Skip to content

Autoregressive Model Beats Diffusion: 🦙 Llama for Scalable Image Generation

License

Notifications You must be signed in to change notification settings

Hasnat79/LlamaGen_local

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autoregressive Model Beats Diffusion: 🦙 Llama for Scalable Image Generation

demo  arXiv  project page 

main LlamaGen repository link --> GitHub Repo

To Run

To run the LlamaGen_local model, follow these steps:

  1. clone the repository
git clone https://github.com/Hasnat79/LlamaGen_local.git
  1. setup the environment
source setup.sh
  1. download the checkpoints
source pretrained_models/download_ckpts.sh
  1. run the text 2 image sample
python3 autoregressive/sample/sample_t2i.py --vq-ckpt ./pretrained_models/vq_ds16_t2i.pt --gpt-ckpt ./pretrained_models/t2i_XL_stage1_256.pt --gpt-model GPT-XL --image-size 256
  1. play with sample_t2i.py file.

For more detailed instructions, please refer to the documentation.

About

Autoregressive Model Beats Diffusion: 🦙 Llama for Scalable Image Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%