Reinforcing your learning through Python code
We will pursue the same approach as in Chapter 2. Start by loading the data_augmentation_with_python_chapter_3.ipynb
file in Google Colab or your chosen Jupyter Notebook or JupyterLab environment. From this point onward, the code snippets will be from the Python Notebook, which contains all the functions.
This chapter’s coding lessons topics are as follows:
- Pluto and the Python Notebook
- Real-world image dataset
- Image augmentation library
- Geometric transformations
- Photometric transformations
- Random erasing
- Combining
The next step is to download, set up, and verify that Pluto and the Python Notebook are working adequately.
Pluto and the Python Notebook
Before loading Pluto from Chapter 2, we must retrieve him by cloning this book’s GitHub repository. Using the Python Notebook’s %run
magic command, we can invoke Pluto. If you improved or hacked Pluto, load that file. You...