Skip to content

Glossary: Computer Vision Basics

inference

Also written: inference_mode, torch.inference_mode

Using a trained model to make predictions. It needs `eval()` mode, no gradient tracking (`torch.inference_mode()`), the validation preprocessing and the training class order.

Where the book teaches it

Related terms

checkpointexporting