For the targeted caption method, we use the targeted caption S as the input of RNN.
for the targeted keyword method we no longer know the exact targeted sentence, but only require the presence of specified keywords in the final caption.