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

CPU Generation and Random Seeds #121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

gmongaras
Copy link

I edited generate.py in the following ways:

  • Allowed the script to use the CPU instead of the GPU and added a flag for this
  • Allowed the script to generate 5 new images based on random seeds if seeds were not given.
  • Created a flag to accept a seed size.

New flags:

  • GPU: If true, the script uses the GPU. If false, the script uses the CPU. This flag defaults to false
  • seed-size: Takes a number as input which specifies the range at which random seeds will be generated. This flag defaults to 500000

I edited generate.py in the following ways:
- Allowed the script to use the CPU instead of the GPU and added a flag for this
- Allowed the script to generate 5 new images based on random seeds if seeds were not given.
- Created a flag to accept a seed size.



New flags:
- GPU: If true, the script uses the GPU. If false, the script uses the CPU. This flag defaults to false
- seed-size: Takes a number as input which specifies the range at which random seeds will be generated. This flag defaults to 500000
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