AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.65k stars 7.96k forks source link

how many unique classes can we train? #5169

Open stephanecharette opened 4 years ago

stephanecharette commented 4 years ago

The most classes I've ever had to use so far in a neural network is 22. How many classes can we have with Darknet's .cfg files? Dozens? Hundreds? Thousands?

@AlexeyAB do you know if there is a limit, or is it only constrained by the quality of the images, markup, training iterations, etc?

If there is a limit, is it the same for each type of .cfg files?

Do you know, or can you give a ballpark idea of what kinds of class limits we'd have with these .cfg files?

AlexeyAB commented 4 years ago

There is no strict limit of number of classes for models. The more classes - the worse accuracy AP.

For example: