multi-label-classification icon indicating copy to clipboard operation
multi-label-classification copied to clipboard

background images

Open leedewdew opened this issue 5 years ago • 1 comments

Hello, thanks for sharing. May I ask how to handle purely background images? In other words, those images that don't belong to any class. Is it ok to give it a ground-truth with each label set to zero, such as [0,0,0,0,0] for 5 labels task.

leedewdew avatar Dec 24 '19 06:12 leedewdew

I recommend to add a neutral n+1'th class. So if you have n labels, add one more that has the meaning of background.

Yannik1337 avatar Jun 29 '21 14:06 Yannik1337