EscVM / OIDv4_ToolKit

Download and visualize single or multiple classes from the huge Open Images v4 dataset
GNU General Public License v3.0
798 stars 633 forks source link

Question on downloading image-level labels: how are negative examples handled? #87

Open teeters opened 3 years ago

teeters commented 3 years ago

First of all, thank you guys for your work! I am trying to download some images for an image-classification task and I'm wondering whether this tool handles negative examples. According to the OID website:

Confidence: Labels that are human-verified to be present in an image have confidence = 1 (positive labels). Labels that are human-verified to be absent from an image have confidence = 0 (negative labels). Machine-generated labels have fractional confidences, generally >= 0.5. The higher the confidence, the smaller the chance for the label to be a false positive.

However I can't find any point in the code where the confidence value is checked. I would like to tinker with it so that the negative examples are downloaded into their own directory.