Modified Implementation of image captioning from the Jason's Machine Learning Mastery Blog. https://machinelearningmastery.com/develop-a-deep-learning-caption-generation-model-in-python/