diff --git a/going_modular/going_modular/README.md b/going_modular/going_modular/README.md index 25feece..39a9a42 100644 --- a/going_modular/going_modular/README.md +++ b/going_modular/going_modular/README.md @@ -8,6 +8,6 @@ They breakdown as follows: * `model_builder.py` - a file to create a PyTorch TinyVGG model. * `train.py` - a file to leverage all other files and train a target PyTorch model. * `utils.py` - a file dedicated to helpful utility functions. - +* **Extra:** `predictions.py` - a file for making predictions with a trained PyTorch model and input image (the main function, `pred_and_plot_image()` was originally created in [06. PyTorch Transfer Learning section 6](https://www.learnpytorch.io/06_pytorch_transfer_learning/#6-make-predictions-on-images-from-the-test-set)). For an explanation of how this was done, refer to section [05. PyTorch Going Modular of the learnpytorch.io book](https://www.learnpytorch.io/05_pytorch_going_modular/). \ No newline at end of file diff --git a/going_modular/going_modular/predictions.py b/going_modular/going_modular/predictions.py index 5b54117..67c32ae 100644 --- a/going_modular/going_modular/predictions.py +++ b/going_modular/going_modular/predictions.py @@ -1,5 +1,7 @@ """ Utility functions to make predictions. + +Main reference for code creation: https://www.learnpytorch.io/06_pytorch_transfer_learning/#6-make-predictions-on-images-from-the-test-set """ import torch import torchvision