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

randomness and reproducibility #13

Open
golsun opened this issue Jan 11, 2023 · 1 comment
Open

randomness and reproducibility #13

golsun opened this issue Jan 11, 2023 · 1 comment

Comments

@golsun
Copy link

golsun commented Jan 11, 2023

Hi @kvfrans,

I'm trying to make the generated results reproducible.
I added the following lines at the beginning of the Curve Optimizer section of your clipdraw.ipynb colab notebook.

random.seed(rand_seed)
torch.random.manual_seed(rand_seed)
np.random.seed(rand_seed)

However, it seems the code still generates very different images (the initial shapes look similar but then diverge) even given the same rand_seed
Do you have a clue? Thanks

@shyammarjit
Copy link

Even I have observed the same thing.

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