limuloo / MIGC

[CVPR 2024 Highlight] "MIGC: Multi-Instance Generation Controller for Text-to-Image Synthesis" (Official Implementation)
Other
518 stars 25 forks source link

Generated image size #10

Closed zhangyupeng123 closed 3 months ago

zhangyupeng123 commented 3 months ago

Is the image size generated by this method fixed?

limuloo commented 3 months ago

@zhangyupeng123 The inference code currently provided can generate images whose length and width are divisible by 8, such as 768 and 1024.

zhangyupeng123 commented 3 months ago

@limuloo Could you please let us know where this parameter is set? We haven't been able to find its location yet.

limuloo commented 3 months ago

@zhangyupeng123 https://github.com/limuloo/MIGC/blob/68f4dcf15c105865df94384790bec0e1de99fb48/migc/migc_pipeline.py#L622 see 'height' and 'width' parameter.

zhangyupeng123 commented 3 months ago

@limuloo Okay, thank you for your guidance.