tencent-ailab / IP-Adapter

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate images with image prompt.
Apache License 2.0
4.5k stars 296 forks source link

Enable sequential execution with specific seed #272

Closed flerim closed 5 months ago

flerim commented 5 months ago

Please note that every time you call the ip_adapter instance twice, the generator resets the seed. This prevents the reproduction of experiments with multiple calls.

Using num_samples to generate multiple images with the same seed is limited by the available device memory.

xiaohu2015 commented 5 months ago

thanks a lot