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

Improved seed selector #69

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Improved seed selector #69

merged 1 commit into from
Sep 22, 2022

Conversation

NullSenseStudio
Copy link
Collaborator

Replaced seed selection with a random seed bool and manual seed string properties. The string property will allow seeds to be anything within a 32-bit uint (which appears to be the limit from pytorch's internals pytorch_lighting/utilities/seed.py seed_everything()) and fixes #41.

image

If the seed cannot be parsed to an int it will get a seed based on its hash. After an image is generated the seed property will get updated with the random seed or hash so someone may easily disable random seed to tweak settings when a desired seed is found.

@carson-katri
Copy link
Owner

Just tested and it works great!

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.

Not able to set Seed above 2147483647 or below -2147483647
2 participants