support value controller training

This commit is contained in:
Artiprocher
2025-07-21 19:16:30 +08:00
parent 22705a44b4
commit e3c5d2540b
7 changed files with 79 additions and 7 deletions

View File

@@ -15,5 +15,5 @@ pipe = FluxImagePipeline.from_pretrained(
)
for i in [0.1, 0.3, 0.5, 0.7, 0.9]:
image = pipe(prompt="A woman.", seed=602, value_controller_inputs=[i], rand_device="cuda")
image = pipe(prompt="a cat on the beach", seed=2, value_controller_inputs=[i])
image.save(f"value_control_{i}.jpg")