# Comparing Unet and YOLO segmentation

**URL:** <https://community.ultralytics.com/t/comparing-unet-and-yolo-segmentation/1014>\
**Category:** Support\
**Tags:** discussion, yolo\
**Created:** [April 28, 2025, 8:36am UTC](https://community.ultralytics.com/t/comparing-unet-and-yolo-segmentation/1014 "2025-04-28T08:36:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zberda\_ak](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/zberda_ak/32/699_2.png) [@zberda\_ak](https://community.ultralytics.com/u/zberda_ak)\
**Post date:** [April 28, 2025, 8:36am UTC](https://community.ultralytics.com/t/comparing-unet-and-yolo-segmentation/1014/1 "2025-04-28T08:36:06Z")

</div>

Hello, I have a question about comparison between unet and yolo segmentation.

I have two model unet and yolo. and ı want to compare them with same testing. Is there any tool for testing both of them same style ?

---

<div class="post-metadata">

**Author:** ![BurhanQ](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/burhanq/32/7_2.png) [@BurhanQ](https://community.ultralytics.com/u/BurhanQ)\
**Post date:** [April 28, 2025, 11:12am UTC](https://community.ultralytics.com/t/comparing-unet-and-yolo-segmentation/1014/2 "2025-04-28T11:12:35Z")

</div>

For the Ultralytics YOLO Segmentation model, you would use the [validation mode](https://docs.ultralytics.com/modes/val/) (`val`) to get performance results. You would need to write a similar evaluation for the UNet model yourself. The COCO metrics evaluation are generally the go to common evaluation metrics, which is what the Ultralytics validation mode is based on.

> **[GitHub - cocodataset/cocoapi: COCO API - Dataset @ http://cocodataset.org/](https://github.com/cocodataset/cocoapi)**
>
> COCO API - Dataset @ http://cocodataset.org/

---

<div class="post-metadata">

**Author:** ![zberda\_ak](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/zberda_ak/32/699_2.png) [@zberda\_ak](https://community.ultralytics.com/u/zberda_ak)\
**Post date:** [April 28, 2025, 11:33am UTC](https://community.ultralytics.com/t/comparing-unet-and-yolo-segmentation/1014/3 "2025-04-28T11:33:11Z")

</div>

thank you 🙂

---

<div class="post-metadata">

**Author:** ![pderrenger](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/pderrenger/32/73_2.png) [@pderrenger](https://community.ultralytics.com/u/pderrenger)\
**Post date:** [April 29, 2025, 12:37am UTC](https://community.ultralytics.com/t/comparing-unet-and-yolo-segmentation/1014/4 "2025-04-29T00:37:42Z")

</div>

You’re welcome! Let us know if you have any other questions about Ultralytics YOLO models or tools.
