How would one extract the feature vector from a given input image using YOLOv4 and pass that data into an LSTM to generate captions for the image?
I am trying to make an image captioning software in PyTorch using YOLO as the base object classifier and an LSTM as the caption generator.
Can anyone help me figure out what part of the code I would need to call and how I would achieve this?
Any help is much appreciated.