Skip to content

Glossary: Computer Vision Beyond the Basics

Weights enum

Also written: weights enums, get_model_weights, DEFAULT

A torchvision object bundling a pretrained model's download address, matching preprocessing and metadata such as COCO mAP and size. `.DEFAULT` picks the best weights.

Where the book teaches it

Related terms

torchvisionEvaluation mode