Skip to content

Glossary: Computer Vision Basics

class index

Also written: classes, class_to_idx

The whole number a network uses for each class, such as bag = 0 and box = 1. `ImageFolder` assigns them alphabetically, so save the `classes` list with the model to turn answers back into words.

Where the book teaches it

Related terms

ImageFoldercheckpoint