NAR icon indicating copy to clipboard operation
NAR copied to clipboard

The effect is poor when using the demo for testing.

Open TANZHAOJIE opened this issue 8 months ago • 4 comments

Image

when I use cmd: python autoregressive/sample/sample_t2i.py --vq-ckpt ./pretrained_models/vq_ds16_t2i.pt --gpt-ckpt ./pretrained_models/t2i_XL_stage2_512.pt --gpt-model GPT-XL --image-size 512

The generated image is as above. Do you have any ideas?

TANZHAOJIE avatar Apr 03 '25 09:04 TANZHAOJIE

Hi! Thanks for your interest in our work. I will look into it in a few days.

ThisisBillhe avatar Apr 05 '25 00:04 ThisisBillhe

It works fine for me. Please make sure you use the correct t2i_XL_stage2_512.pt checkpoint of NAR rather than LlamaGen. Image

ThisisBillhe avatar Apr 05 '25 01:04 ThisisBillhe

Image

Image

Image

I'm sure that the model is correct. The relevant operation logs and model files are shown in the above picture.

TANZHAOJIE avatar Apr 07 '25 00:04 TANZHAOJIE

And it's downloaded from here: https://huggingface.co/yefly/NAR-XL-t2i-stage2/tree/main,then the name is change d to:t2i_XL_stage2_512.pt

TANZHAOJIE avatar Apr 07 '25 00:04 TANZHAOJIE