# Tiling during inference

**URL:** <https://discuss.roboflow.com/t/tiling-during-inference/4657>\
**Category:** 🤝  Community Help\
**Created:** [March 4, 2024, 8:30am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657 "2024-03-04T08:30:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fleeing\_Dutchman](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/fleeing_dutchman/32/3899_2.png) [@Fleeing\_Dutchman](https://discuss.roboflow.com/u/Fleeing_Dutchman)\
**Post date:** [March 4, 2024, 8:30am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657/1 "2024-03-04T08:30:46Z")

</div>

I’m trying to tile the images during inference, but this options does nothing and takes the image in its original form. Am i doing something really dumb here?

base64 YOUR\_IMAGE.jpg | curl -d @-

"[https://detect.roboflow.com/upvi2/4](https://detect.roboflow.com/upvi2/4)?

api\_key=EMHT&tile=640"

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [March 11, 2024, 4:14am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657/2 "2024-03-11T04:14:25Z")

</div>

Hey @Fleeing_Dutchman

The tile parameter is not supported in our hosted inference API. If you were doing this in reference to [this blog post](https://blog.roboflow.com/edge-tiling-during-inference/), we were recently made aware of this and updated the post. Learn more [how to use SAHI](https://blog.roboflow.com/how-to-use-sahi-to-detect-small-objects/) in this blog post!

---

<div class="post-metadata">

**Author:** ![Fleeing\_Dutchman](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/fleeing_dutchman/32/3899_2.png) [@Fleeing\_Dutchman](https://discuss.roboflow.com/u/Fleeing_Dutchman)\
**Post date:** [March 11, 2024, 5:20am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657/3 "2024-03-11T05:20:11Z")

</div>

Thanks, does SAHI works for Instance Segmentation projects too or is it limited to Object Detection models only?

---

<div class="post-metadata">

**Author:** ![Fleeing\_Dutchman](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/fleeing_dutchman/32/3899_2.png) [@Fleeing\_Dutchman](https://discuss.roboflow.com/u/Fleeing_Dutchman)\
**Post date:** [March 11, 2024, 6:03am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657/4 "2024-03-11T06:03:49Z")

</div>

I think it can,

> <https://github.com/obss/sahi/pull/918>
>
> Redid the previous pull request. Conducted testing.

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [March 17, 2024, 4:23am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657/5 "2024-03-17T04:23:44Z")

</div>

Hi @Fleeing_Dutchman

Yes, it’s possible. In the latest version of [Supervision](https://github.com/roboflow/supervision), which the blog post linked uses, SAHI or InferenceSlicing (as it’s called in supervision) for instance segmentation is supported.

---

<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:** [March 24, 2024, 4:23am UTC](https://discuss.roboflow.com/t/tiling-during-inference/4657/6 "2024-03-24T04:23:51Z")

</div>

Closed on March 24, 2024, 4:23am UTC

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