Getting ready

Your directory should match the following tree—if you don't have the Python files beneath src, simply make sure to add the blank files for run.py and train.py and we will fill in the code throughout this recipe:

├── data
│ ├──
├── docker
│ ├── build.sh
│ ├── clean.sh
│ └── Dockerfile
├── README.md
├── run.sh
├── scripts
│ └── create_data.sh
├── src
│ ├── discriminator.py
│ ├── gan.py
│ ├── generator.py
│ ├── run.py
│ ├── save_to_npy.py
│ └── train.py

Training can be broken into a few key components:

  • InitializationAnswer this question—what do I need to set up to actually train the model?
  • Training method: Answer this question—what code trains the model?
  • Helpers: Answer this question—what auxiliary functions do I need to ensure that I can train the model?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.9.147