--- description: Explore the HUBTrainingSession class for managing Ultralytics YOLO model training, heartbeats, and checkpointing. keywords: Ultralytics, YOLO, HUBTrainingSession, model training, heartbeats, checkpointing, Python --- # Reference for `ultralytics/hub/session.py` !!! note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/hub/session.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/hub/session.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/hub/session.py) 🛠️. Thank you 🙏!
## ::: ultralytics.hub.session.HUBTrainingSession