Skip to content

question about training img size and postprocessing #14182

Answered by glenn-jocher
kronee0516 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kronee0516,

I'm glad to hear that the previous response was helpful! Let's dive into your additional questions regarding the export and output structure of YOLOv8.

YOLOv8 Output Structure

In YOLOv8, the output structure has been streamlined compared to YOLOv5. Instead of having multiple outputs for different strides, YOLOv8 consolidates the outputs into a single tensor. This tensor has the shape (1, n+4, 8400), where:

  • n is the number of classes.
  • 4 represents the bounding box coordinates (x, y, width, height).
  • 8400 is the total number of predictions, which is a result of the feature map sizes and strides combined.

Strides and Anchor Boxes

In YOLOv8, the concept of anchor boxes has be…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kronee0516
Comment options

@glenn-jocher
Comment options

Answer selected by kronee0516
@kronee0516
Comment options

@glenn-jocher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants