Skip to content

Glossary: Computer Vision Beyond the Basics

Background class

Also written: label 0, background

Torchvision reserves label 0 for 'background', so real classes must start at 1. Starting your labels at 0 makes the model treat that class as background.

Where the book teaches it

Related terms

Target