Loading...
Searching...
No Matches
opennn::DetectionHeadMetadata Struct Reference

#include <opennn/network/detection_head.h>

Public Member Functions

bool is_anchor_free () const noexcept
 
bool uses_sigmoid_classes () const noexcept
 

Public Attributes

DetectionHeadKind kind = DetectionHeadKind::AnchorBased
 
Index boxes_per_cell = 1
 
Index classes_number = 0
 
Index regression_bins = 1
 
DetectionClassActivation class_activation = DetectionClassActivation::Softmax
 

Member Function Documentation

◆ is_anchor_free()

bool opennn::DetectionHeadMetadata::is_anchor_free ( ) const
inlinenoexcept

◆ uses_sigmoid_classes()

bool opennn::DetectionHeadMetadata::uses_sigmoid_classes ( ) const
inlinenoexcept

Member Data Documentation

◆ boxes_per_cell

Index opennn::DetectionHeadMetadata::boxes_per_cell = 1

◆ class_activation

DetectionClassActivation opennn::DetectionHeadMetadata::class_activation = DetectionClassActivation::Softmax

◆ classes_number

Index opennn::DetectionHeadMetadata::classes_number = 0

◆ kind

DetectionHeadKind opennn::DetectionHeadMetadata::kind = DetectionHeadKind::AnchorBased

◆ regression_bins

Index opennn::DetectionHeadMetadata::regression_bins = 1