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

Add seed option #42

Merged
merged 4 commits into from Nov 9, 2022
Merged

Add seed option #42

merged 4 commits into from Nov 9, 2022

Conversation

moonbings
Copy link
Collaborator

@moonbings moonbings commented Nov 9, 2022

Description

This engine cannot reproduce same data.
So I added random seed option to solve this issue.

I also changed multi processing structure.
When the new engine puts tasks in the task queue, each worker gets and runs it.
And each task is assigned an index.
Note that the incoming indexes are random when storing data because the task completion times are different.

Changes in this PR

  • Added random seed option. (-s or --seed)
  • Refactored main.py, gen.py
  • Updated README.md
  • Updated .pylintrc

How has this been tested?

Checked directly whether images are generated correctly.

@moonbings moonbings merged commit 985e327 into clovaai:master Nov 9, 2022
@moonbings moonbings deleted the add_seed_option branch November 9, 2022 15:34
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