--- description: Explore the TaskAlignedAssigner in Ultralytics YOLO. Learn about the TaskAlignedMetric and its applications in object detection. keywords: Ultralytics, YOLO, TaskAlignedAssigner, object detection, machine learning, AI, Tal.py, PyTorch --- # Reference for `ultralytics/utils/tal.py` !!! note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/tal.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/tal.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/utils/tal.py) 🛠️. Thank you 🙏!
## ::: ultralytics.utils.tal.TaskAlignedAssigner



## ::: ultralytics.utils.tal.RotatedTaskAlignedAssigner



## ::: ultralytics.utils.tal.make_anchors



## ::: ultralytics.utils.tal.dist2bbox



## ::: ultralytics.utils.tal.bbox2dist



## ::: ultralytics.utils.tal.dist2rbox