Answers.Body: <p>You can save the extracted features coming out of YOLOv4 and save it to pickle file and use them for later.</p>
  <p>You can also find related information in this project made by Jason Brownlee</p>
  <p><a href="https://machinelearningmastery.com/develop-a-deep-learning-caption-generation-model-in-python/" rel="nofollow noreferrer">https://machinelearningmastery.com/develop-a-deep-learning-caption-generation-model-in-python/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-31T08:22:14.513Z
Answers.LastActivityDate: 2020-08-31T08:22:14.513Z
Answers.UserDisplayName: Faran Khalid
Body: <p>How would one extract the feature vector from a given input image using <a href="https://github.com/Tianxiaomo/pytorch-YOLOv4" rel="nofollow noreferrer">YOLOv4</a> and pass that data into an LSTM to generate captions for the image?</p>
  <p>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.</p>
  <p>Can anyone help me figure out what part of the code I would need to call and how I would achieve this?</p>
  <p>Any help is much appreciated.</p>
  
Tags: <natural-language-processing><long-short-term-memory><pytorch><yolo>
Title: Feeding YOLOv4 image data into LSTM layer?
UserDisplayName: Gibbo0789
ThreadText: # Feeding YOLOv4 image data into LSTM layer?
  
  (Asked by: username_0 on 2020-08-25)
  
  How would one extract the feature vector from a given input image using [YOLOv4](https://github.com/Tianxiaomo/pytorch-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.
  
  **Tags:** natural-language-processing, long-short-term-memory, pytorch, yolo
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-08-31. Score: 1
  
  You can save the extracted features coming out of YOLOv4 and save it to pickle file and use them for later.
  
  You can also find related information in this project made by Jason Brownlee
  
  <https://machinelearningmastery.com/develop-a-deep-learning-caption-generation-model-in-python/>
  
  
  ---
  
  