Files
pytorch-deep-learning/05_pytorch_going_modular.md
T
2021-11-24 16:04:43 +10:00

628 B

TODO: Going modular

In this section we turn notebook 04 into a series of Python scripts saved to going_modular.

This document will describe those steps.

Afterwards we can reuse the same code in the scripts in the next notebook (06), Transfer Learning.

Pros:

  • Saves a lot of rewriting code
  • Good idea to: start in notebooks then move to scripts when you've got something working.

TODO:

  • Explain each of the different .py files
  • How to go from functions in a notebook to .py (manaul vs automatic)

Extensions & Exercises

  • Use argparse to be able to send train.py custom settings for training procedures