I am interested to know about the number of classes in Tensorflow Inception .
In their training script, they download a training set consisting of images and tags. Then, to calculate the loss, they determine the number of classes as:
# Number of classes in the Dataset label set plus 1.
You can see that they use the "unused background class". You can also see this approach when creating your training set: build_image_data.py
So why do you need such an unused background class? (Moreover, you get one additional, but useless prediction from the output level)
source share