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

Update seed feature #44

Merged
merged 3 commits into from Nov 10, 2022
Merged

Conversation

moonbings
Copy link
Collaborator

@moonbings moonbings commented Nov 10, 2022

Description

  • Random seed is also applied to main process.
  • Added get_global_random_states, set_global_random_states, set_global_random_seed functions.
    This functions can be used in templates.

Changes in this PR

  • Updated main.py, gen.py.
  • Added functions (get_global_random_states, set_global_random_states, set_global_random_seed).

How has this been tested?

Checked directly whether images are generated correctly.

@moonbings moonbings merged commit 9a1d6c0 into clovaai:master Nov 10, 2022
@moonbings moonbings deleted the update_seed_feature branch November 10, 2022 16:56
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.

None yet

1 participant