Skip to content

Commit

Permalink
fix: SAM labeling config from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
makseq committed Apr 9, 2024
1 parent 7fb68fb commit 2acb320
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions label_studio_ml/examples/mmdetection-3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ In this example, you can combine multiple labels into one Label Studio label. Fo

> These steps provided by @raash1d [in this issue](https://github.com/heartexlabs/label-studio-ml-backend/issues/167#issuecomment-1495061050). Note: the patch from the comment is already applied, except hardcoding of label_config into kwargs.
**It's highly recomended to use docker, it allows to avoid lots of dependency problems!**
**It's highly recomended to use docker, it allows to avoid lots of problems!**

1. Clone the Label Studio ML Backend repository in your directory of choice
```
Expand All @@ -58,7 +58,7 @@ cd label-studio-ml-backend/label_studio_ml/examples/mmdetection-3
2. Create a virtual environment using venv and install all dependencies using pip
```
python -m venv ml-backend
source ml-backend/bin/activate # assuming you're on bash or zsh
source ml-backend/bin/activate
pip install -r requirements.txt
```

Expand Down
10 changes: 7 additions & 3 deletions label_studio_ml/examples/segment_anything_model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Base example:
<View className="container">
<View className="column">
<HyperText value="" name="h1" className="help" inline="true">
Brush for manual labeing
Brush for manual labeling
</HyperText>
<View className="label">
<BrushLabels name="tag" toName="image">
Expand All @@ -368,7 +368,9 @@ Base example:

<View className="column">
<HyperText value="" name="h2" className="help" inline="true">
Keypoints for manual and <a href="#" target="_blank">auto-labeling</a>
<span title="1. Click purple auto Keypoints/Rectangle icon on toolbar. 2. Click Foreground/Background label here">
Keypoints for auto-labeling
</span>
</HyperText>
<View className="label">
<KeyPointLabels name="tag2" toName="image" smart="true">
Expand All @@ -380,7 +382,9 @@ Base example:

<View className="column">
<HyperText value="" name="h3" className="help" inline="true">
Rectangles for manual and <a target="_blank" href="#">auto-labeling</a>
<span title="1. Click purple auto Keypoints/Rectangle icon on toolbar. 2. Click Foreground/Background label here">
Rectangles for auto-labeling
</span>
</HyperText>
<View className="label">
<RectangleLabels name="tag3" toName="image" smart="true">
Expand Down

0 comments on commit 2acb320

Please sign in to comment.