0

Is this correct usage, if I want to generate more images (without changing the batch size), just to call it in a loop?

# !pip install diffusers
from diffusers import DDPMPipeline

ddpm = DDPMPipeline.from_pretrained("google/ddpm-celebahq-256")  

for _ in range(10):
    images = pipeline(batch_size=1, output_type='np').images # does it always generate different images? 

Does it always generate different images?

j35t3r
  • 1,254
  • 2
  • 19
  • 53

0 Answers0