Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSD output structure #11167

Open
0xSynapse opened this issue Feb 22, 2024 · 0 comments
Open

SSD output structure #11167

0xSynapse opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
models:research models that come under research directory type:support

Comments

@0xSynapse
Copy link

0xSynapse commented Feb 22, 2024

Given an output shape of (1, 1, 100, 7), let's break down each dimension:
Batch Size (1):
In this context, the batch size is 1, indicating that the model is processing one input image at a time. This is common for inference on single images.
Number of Detections (1):
This represents the number of detected objects or bounding boxes. In your case, it seems to be set to 1. Each detection provides information about an object in the image.
Maximum Number of Detections (100):
This represents the maximum number of detections that the model can produce. Even if only a few objects are present in the image, the model might predict up to 100 bounding boxes.
Information for Each Detection (7):
For each detected object, there are 7 values representing different attributes:
Batch ID (0): The index of the batch to which the detection belongs. Since the batch size is 1, this is always 0.
Class ID (1): The index or label of the detected object's class. It indicates what type of object the model thinks it is.
Confidence Score (0.5, for example): The confidence or probability score associated with the detection. It indicates how certain the model is about the detected object being of a particular class.
Bounding Box Coordinates (left, top, right, bottom): The coordinates of the bounding box specifying the location of the detected object in the image. These values are often normalized (0 to 1) and need to be scaled according to the actual image dimensions.

-- is this structure correct?!

@laxmareddyp laxmareddyp added the models:research models that come under research directory label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models:research models that come under research directory type:support
Projects
None yet
Development

No branches or pull requests

2 participants