yjh0410 / CenterNet-plus

A Simple Baseline for Object Detection
55 stars 11 forks source link

Number of classes #17

Closed YashRunwal closed 3 years ago

YashRunwal commented 3 years ago

Hello @yjh0410 ,

I am training the model for the following classes: class_labels = [ 'person', 'bicycle', 'motorcycle', 'car', 'train', 'truck', 'bus']

Do I need to include the background class and pass the self.num_classes == 8 or the background class should be ignored and the self.num_classes should be 7?

I think this may be the reason why I got 0 mAP before.

yjh0410 commented 3 years ago

You should set it as 7, not 8.