Skip to content

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.

1 participant