A Novel Adaptive Attention Model for Image Captioning