Skip to content

Preset method

Linear classifier

Introduction

The feature maps outputted by the backbone network undergo feature extraction and dimension reduction through a global average pooling layer. Then, the resulting features are inputted into a linear classifier, which consists of a single linear fully connected layer. The input dimension of the linear classifier is equal to the dimension of the feature vector, while the output dimension is equal to the number of classes.