Code for implementing Im2Text paper