# How to load SAM masks or perform Auto SAM in Roboflow?

**URL:** <https://discuss.roboflow.com/t/how-to-load-sam-masks-or-perform-auto-sam-in-roboflow/3588>\
**Category:** 🤝  Community Help\
**Tags:** segmentation\
**Created:** [October 31, 2023, 7:17pm UTC](https://discuss.roboflow.com/t/how-to-load-sam-masks-or-perform-auto-sam-in-roboflow/3588 "2023-10-31T19:17:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![crouse](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@crouse](https://discuss.roboflow.com/u/crouse)\
**Post date:** [October 31, 2023, 7:17pm UTC](https://discuss.roboflow.com/t/how-to-load-sam-masks-or-perform-auto-sam-in-roboflow/3588/1 "2023-10-31T19:17:38Z")

</div>

I would like to load an image with corresponding AUTO Segment Anything masks, and then correct these masks with the Segment Anything tool in Roboflow. I have loaded the image and I can use the SAM tool, but I can’t figure out the Auto SAM part. I have generated the Auto (binary) masks outside of Roboflow, so ideally I’d like to load them as annotations, but I don’t know how to get them in the correct format. Alternatively, I could redo the auto masks in Roboflow, but I don’t see that as a feature in Roboflow (I have watched many videos and read many forums on the SAM tool where you click on an object and it segments that object, which I need for the edits, but I need to use the auto segmentation first).

- **Project Type:** Segmentation
- **Operating System & Browser:** Linux & Firefox
- **Project Universe Link or Workspace/Project ID:** [Box Finder \> Generate New Version \> Preprocessing ([roboflow.com](http://roboflow.com))]  
[Sign in to Roboflow](https://app.roboflow.com/southwest-research-institute-r1it0/box-finder-ejnra/generate/preprocessing)

---

<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:** [November 1, 2023, 10:25pm UTC](https://discuss.roboflow.com/t/how-to-load-sam-masks-or-perform-auto-sam-in-roboflow/3588/2 "2023-11-01T22:25:11Z")

</div>

Hey @crouse

What format do you have your mask annotations in? [This page has all the formats we support for import.](https://roboflow.com/formats)

---

<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:** [November 15, 2023, 10:25pm UTC](https://discuss.roboflow.com/t/how-to-load-sam-masks-or-perform-auto-sam-in-roboflow/3588/3 "2023-11-15T22:25:45Z")

</div>

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