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

Setting the seed gives different results each time the code is run #8

Open
andrea-gatto opened this issue Jun 15, 2022 · 1 comment

Comments

@andrea-gatto
Copy link

When generating images setting the seed doesn't give reproducible results, the images (and clip scores) are different every time the code is run with same seed, any idea why?

@andrea-gatto andrea-gatto changed the title Setting the seed gives different samples Setting the seed gives different results each time the code is run Jun 15, 2022
@limiteinductive
Copy link
Contributor

@andrea-gatto Yes, it is because some components of the diffusion process use non-deterministic algorithms like for example: pytorch/pytorch#68961. There is no workaround for the moment.

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

2 participants