mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
18 lines
628 B
Markdown
18 lines
628 B
Markdown
# 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 |