Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow randomized seeds in prompt_matrix #5438

Merged

Conversation

DavidVorick
Copy link

I found it useful to keep randomizing the seed when building a prompt_matrix - it allows you to create a much higher diversity of content and can make some very interesting image grids.

@AUTOMATIC1111 AUTOMATIC1111 merged commit 9763623 into AUTOMATIC1111:master Dec 10, 2022
@AUTOMATIC1111
Copy link
Owner

            base = p.seed
            p.seed = []
            for i in range(len(all_prompts)):
                p.seed.append(base+1)

This does not do what you think it does.

AUTOMATIC1111 added a commit that referenced this pull request Dec 10, 2022
@DavidVorick
Copy link
Author

Thanks for the merge!

fwiw I did test it locally and it seemed to do what I wanted, but I'm happy to assume there's something I wasn't understanding. Thanks for fixing it up

Oncorporation pushed a commit to Oncorporation/stable-diffusion-webui that referenced this pull request Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants