Skip to content

Glossary: Deep Learning Basics

Pickle

Also written: pickle, UnpicklingError

Python's format for saving objects. Loading a pickle can run any code hidden inside it, which is why you only load files you trust and use `weights_only=True`.

Where the book teaches it

Related terms

weights_only=Truetorch.save / torch.load