main LlamaGen repository link -->
To run the LlamaGen_local model, follow these steps:
- clone the repository
git clone https://github.com/Hasnat79/LlamaGen_local.git
- setup the environment
source setup.sh
- download the checkpoints
source pretrained_models/download_ckpts.sh
- 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
- play with sample_t2i.py file.
For more detailed instructions, please refer to the documentation.