Image Captioning

A Pre-LLM era image captioning model finetuning project!

This project used earlier Deep Learning models (a combination of pre-trained CNN and LSTM units layered in different ways) and the Keras, Numpy and Matplotlib libraries, to generate captions from images. I know! Seems easy in the generative AI era. However, back then it inspired me to learn more about Machine Learning and formed the basis of my knowledge in finetuning models, word embeddings, handling multi-modal data, creating layered neural networks and more.

Here are some examples that I generated using google colab ( due to limited compute ) and a whole lot of time. Trainings used to take hours.

For those into these sorts of things, here is the system flow. We used the FlickR dataset, and luckily it was small enough for me to get some results and manage finetuning without a personal GPU.

Please find all the details in the git repo.