Body: <p>According to the paper <a href="https://arxiv.org/pdf/1512.02325.pdf" rel="nofollow noreferrer">SSD: Single Shot MultiBox Detector</a>, for each cell in a feature map k boxes are acquired and for each box we get $c$ class scores and $4$ offsets relative to the original default box_shape. This means that we get $m \times n \times (c +4) \times k$ outputs for each $m \times n$ feature map.</p>
  
  <p>However, it is mentioned that in order to train the SSD network only the images and their ground truth boxes are needed.</p>
  
  <p>How exactly can one define the output targets then? What is the format of the output in the SSD framework? I think it cannot be a vector with the positions, sizes and class of each boundary box, since the outputs are a lot more and relate to every default box in the feature maps. </p>
  
  <p>Can anyone explain in more detail how can I, given an image and its boundary boxes' info, construct a vector that will be fed into a network so that I can train it?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-16T18:01:12.880Z
Comments.Text: Thanks for posting,can you revise your question a little bit,so as you get effective feedback from our community of mainstream science
Comments.UserDisplayName: quintumnia
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-16T19:42:53.960Z
Comments.Text: I would be glad to revise it, though it is not clear to me how I should rephrase it. Maybe it would be easier if I had some kind of specific remark so that I know what part of the question is not as clear. Thank you.
Comments.UserDisplayName: MattSt
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-16T21:34:22.853Z
Comments.Text: don't sweat it.  *(I've taken the liberty of adding the "concepts" tag.)* Thanks for linking the paper!
Comments.UserDisplayName: DukeZhou
Tags: <neural-networks><machine-learning><object-recognition>
Title: How does the target output of a Single Shot Detector (SSD) look like?
UserDisplayName: MattSt
ThreadText: # How does the target output of a Single Shot Detector (SSD) look like?
  
  (Asked by: username_0 on 2018-08-16)
  
  According to the paper [SSD: Single Shot MultiBox Detector](https://arxiv.org/pdf/1512.02325.pdf), for each cell in a feature map k boxes are acquired and for each box we get $c$ class scores and $4$ offsets relative to the original default box\_shape. This means that we get $m \times n \times (c +4) \times k$ outputs for each $m \times n$ feature map.
  
  However, it is mentioned that in order to train the SSD network only the images and their ground truth boxes are needed.
  
  How exactly can one define the output targets then? What is the format of the output in the SSD framework? I think it cannot be a vector with the positions, sizes and class of each boundary box, since the outputs are a lot more and relate to every default box in the feature maps.
  
  Can anyone explain in more detail how can I, given an image and its boundary boxes' info, construct a vector that will be fed into a network so that I can train it?
  
  **Tags:** neural-networks, machine-learning, object-recognition
  > **Comments:**
  > **username_1**: Thanks for posting,can you revise your question a little bit,so as you get effective feedback from our community of mainstream science  
  > **username_0**: I would be glad to revise it, though it is not clear to me how I should rephrase it. Maybe it would be easier if I had some kind of specific remark so that I know what part of the question is not as clear. Thank you.  
  > **username_2**: don't sweat it.  *(I've taken the liberty of adding the "concepts" tag.)* Thanks for linking the paper!  
  
  ---
  
  ## 0 answers
  
  