https://towardsdatascience.com/is-cnn-equally-shiny-on-mid-resolution-satellite-data-9e24e68f0c08
These scripts serve same purpose as the three parts described in the post.
Please use one script at a time in order. When the process is runnning smooth on your PC, you may try the combined script.
Running from the command prompt or similar shell is recommended for faster processing.