I am hoping to not only see the generated sentence, but also the predicted class from the image model. I have been searching through the code to find where the class prediction is, but I cannot find it anywhere. Can someone please help me locate in the generate_sentence or eval functions where the model is predicting the image class so I can output the predicted class as well as the generated sentence?
I am hoping to not only see the generated sentence, but also the predicted class from the image model. I have been searching through the code to find where the class prediction is, but I cannot find it anywhere. Can someone please help me locate in the generate_sentence or eval functions where the model is predicting the image class so I can output the predicted class as well as the generated sentence?