Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Multilabel Classification Support

See original GitHub issue

🚀 Feature

Provide support for multilabel classification, e.g. Vehicle -> Sedan.


There are several datasets that provide multiple labels for a class. Also, this appears to have a positive impact on transfer learning, new label introduction.


  1. Provide an option to make use of multilabel categories.
  2. Pass through the supercategory attribute from the json annotations.json file. It’d be nice if this was abstracted to enable any number of labels per box but that may require a custom dataset
  3. Increase the number of classes to N_classes + N_superclasses or N_nodes in the case of a 3 or more level class hierarchy.
  4. Switch to BCE loss if there are multiple labels per box.
  5. Generate the truth vector for both precise class and any parent or supercategory(s) of the box.


YOLOv3 implements it in this way, I believe. RFCN takes a different a more divergent approach.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

steve-goleycommented, Nov 6, 2018
SaiSarath01commented, Sep 24, 2020

Hi did any one find way for multi label mask rcnn?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-Label Classification with Scikit-MultiLearn -
In this tutorial, we will be dealing with multi-label text classification. We will build a model that classifies a given text input into ......
Read more >
Multi-Label Classification with Deep Learning
Multi-label classification can be supported directly by neural networks simply by specifying the number of target labels there is in the problem ...
Read more >
Solving Multi Label Classification problems - Analytics Vidhya
An introduction to multi label classification problems. This tutorial covers how to solve these problems using a multi-learn (scikit) ...
Read more >
Multi Label Text Classification with Scikit-Learn | by Susan Li
Multi-class classification means a classification task with more than two classes; each label are mutually exclusive.
Read more >
machine-learning-articles/how-to-create-a-multilabel-svm ...
Support Vector Machines can be used for building classifiers. They are natively equipped to perform binary classification tasks. However, they ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found