--- description: Master the ultralytics.models.sam.predict.Predictor class with our comprehensive guide. Discover techniques to enhance your model predictions. keywords: Ultralytics, predictor, models, sam.predict.Predictor, AI, machine learning, predictive models --- # Reference for `ultralytics/models/sam/predict.py` !!! note Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/predict.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/predict.py). --- ## ::: ultralytics.models.sam.predict.Predictor