---
description: Dynamically adjusts input size to optimize GPU memory usage during training. Learn how to use check_train_batch_size with Ultralytics YOLO.
---
# check_train_batch_size
---
:::ultralytics.yolo.utils.autobatch.check_train_batch_size
# autobatch
---
:::ultralytics.yolo.utils.autobatch.autobatch