Skip to content

Glossary: Computer Vision Basics

state_dict

Also written: load_state_dict

A model's weights stored as a dictionary. It holds only weights, so you must also save class names and preprocessing settings, and the saved shapes must match the model you load into.

Where the book teaches it

Related terms

checkpointweights_only