How to find seed for “liked” iterative ball?
When I run in the iterative ball mode (—algorithm NOT set to “normal” basically) I get a lot of ball variations created. Default is 30.
It happens sometimes that I like certain ball variation and would love to work with that particular picked one. Unfortunately the algorithm merges all the balls through some average calculation and I do not get my desired one in the end.
How is the seed used during the iterative ball generation when let’s say —ball_iterations are set to like 30? seed 1, 2, 3,… 30??
How could I find out the seed for a certain ball I like ?
Thanks
If you are not set the seed by providing --seed to inpaint.py (ie, args.seed=="auto")
The first seed (ball_0.png) is a hash calculated from the filename without file extension.
https://github.com/DiffusionLight/DiffusionLight/blob/7990de166a6ffa07c0888976ca4ac10422fbabc3/inpaint.py#L291-L293
For other balls, the seed is increasing by the ball number.
For example, ball_5.png seed is equal to seed = name2hash(filename) + 5