--- description: Learn about Ultralytics BasePredictor, an essential component of our engine that serves as the foundation for all prediction operations. keywords: Ultralytics, BasePredictor, YOLO, prediction, engine --- # Reference for `ultralytics/engine/predictor.py` !!! Note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/engine/predictor.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/engine/predictor.py). If you spot a problem please help fix it by [contributing](/help/contributing.md) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/engine/predictor.py) 🛠️. Thank you 🙏!

## ::: ultralytics.engine.predictor.BasePredictor