Imported from https://github.com/KranthiGV/Pretrained-Show-and-Tell-model