HOW TO RUN THIS CODE Run extract_feats_term.sh. Need to have CNN model and model_def files. Run the prediction to generate sentences using checkpoint.