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

[Bug] Different results for same seed #9

Open
akameswa opened this issue Nov 30, 2023 · 3 comments
Open

[Bug] Different results for same seed #9

akameswa opened this issue Nov 30, 2023 · 3 comments

Comments

@akameswa
Copy link

Unable to reproduce the result despite using the same parameters. Is it supposed to behave this way?

@dakenf
Copy link
Owner

dakenf commented Dec 1, 2023

Not really. I will take a look on the weekend

@kungfooman
Copy link

I fixed it here: kungfooman/StableDiffusion.js@4a409a3

Instead of letting seedrandom generate new seeds all the time (because seed isn't passed in some stages), I just give every function/method that depends on random the rng function that is generated exactly once based on the given seed.

@akameswa
Copy link
Author

I see. Thanks for the explanation!

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

No branches or pull requests

3 participants