Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nik committed Aug 1, 2024
1 parent ace2554 commit e09b9a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion label_studio_ml/examples/segment_anything_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ pip install -r requirements.txt
2. Download [`segment-anything-2` repo](https://github.com/facebookresearch/segment-anything-2) into the root directory. Install SegmentAnything model and download checkpoints using [the official Meta documentation](https://github.com/facebookresearch/segment-anything-2?tab=readme-ov-file#installation)


3. Then you can start the ML backend:
3. Then you can start the ML backend on the default port `9090`:

```bash
cd ../
label-studio-ml start ./segment_anything_2
```

4. Connect running ML backend server to Label Studio: go to your project `Settings -> Machine Learning -> Add Model` and specify `http://localhost:9090` as a URL. Read more in the official [Label Studio documentation](https://labelstud.io/guide/ml#Connect-the-model-to-Label-Studio).

## Running with Docker (coming soon)

1. Start Machine Learning backend on `http://localhost:9090` with prebuilt image:
Expand Down

0 comments on commit e09b9a6

Please sign in to comment.