mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
628 B
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
.pyfiles - How to go from functions in a notebook to
.py(manaul vs automatic)
Extensions & Exercises
- Use
argparseto be able to sendtrain.pycustom settings for training procedures