# Why is "overlap" not an option for instance segmentation models?

**URL:** <https://discuss.roboflow.com/t/why-is-overlap-not-an-option-for-instance-segmentation-models/6470>\
**Category:** 🤝  Community Help\
**Created:** [July 10, 2024, 1:46pm UTC](https://discuss.roboflow.com/t/why-is-overlap-not-an-option-for-instance-segmentation-models/6470 "2024-07-10T13:46:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![talhaa\_hussain](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/talhaa_hussain/32/5063_2.png) [@talhaa\_hussain](https://discuss.roboflow.com/u/talhaa_hussain)\
**Post date:** [July 10, 2024, 1:46pm UTC](https://discuss.roboflow.com/t/why-is-overlap-not-an-option-for-instance-segmentation-models/6470/1 "2024-07-10T13:46:14Z")

</div>

As per the title - for object detection, “confidence” and “overlap” are parameters when making predictions; however, for instance segmentation, “overlap” is not available. Why is this the case?

If I’m mistaken, how _can_ I adjust “overlap” for my instance segmentation model?

Thanks!

---

<div class="post-metadata">

**Author:** ![Reinier\_Zeldenrust](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/reinier_zeldenrust/32/5052_2.png) [@Reinier\_Zeldenrust](https://discuss.roboflow.com/u/Reinier_Zeldenrust)\
**Post date:** [July 10, 2024, 2:18pm UTC](https://discuss.roboflow.com/t/why-is-overlap-not-an-option-for-instance-segmentation-models/6470/2 "2024-07-10T14:18:26Z")

</div>

Just to add that when I downloaded the annotations and trained the model locally using YOLOv8, IoU (overlap) _is_ a parameter and affects inference quite a lot, so curious why this wouldn’t be the case on Roboflow Instance Segmentation inference.

---

<div class="post-metadata">

**Author:** ![p.peczek](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/p.peczek/32/4168_2.png) [@p.peczek](https://discuss.roboflow.com/u/p.peczek)\
**Post date:** [July 17, 2024, 1:44pm UTC](https://discuss.roboflow.com/t/why-is-overlap-not-an-option-for-instance-segmentation-models/6470/3 "2024-07-17T13:44:25Z")

</div>

Hello there.  
We do have this parameter for models - its name is `iou_threshold`  
this is a base class being used: [instance\_segmentation\_base - Roboflow Inference](https://inference.roboflow.com/docs/reference/inference/core/models/instance_segmentation_base/#inference.core.models.instance_segmentation_base.InstanceSegmentationBaseOnnxRoboflowInferenceModel)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [August 7, 2024, 1:45pm UTC](https://discuss.roboflow.com/t/why-is-overlap-not-an-option-for-instance-segmentation-models/6470/4 "2024-08-07T13:45:14Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
