You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: label_studio_ml/examples/segment_anything_2_image/README.md
+87-2
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,96 @@ SAM 2 for better image labeling with label studio.
25
25
Click on the image below to watch our ML Evangelist Micaela Kaplan explain how to link SAM 2 to your Label Studio Project.
26
26
You'll need to follow the instructions below to stand up an instance of SAM2 before you can link your model!
27
27
28
-
29
28
[](https://www.youtube.com/watch?v=FTg8P8z4RgY)
30
29
31
30
Note that as of 8/1/2024, SAM2 only runs on GPU.
32
31
32
+
## Labeling configuration
33
+
34
+
The current implementation of the Label Studio SAM2 ML backend works using Interactive mode. The user-guided inputs are:
35
+
-`KeypointLabels`
36
+
-`RectangleLabels`
37
+
38
+
And then SAM2 outputs `BrushLabels` as a result.
39
+
40
+
This means all three control tags should be represented in your labeling configuration:
0 commit comments