Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Update readme in label anything #89

Merged
merged 12 commits into from
May 8, 2023
Prev Previous commit
Next Next commit
Update readme.md
  • Loading branch information
JimmyMa99 authored May 8, 2023
commit 97eabb1012f39df96d418f446f461137c225ae40
8 changes: 7 additions & 1 deletion label_anything/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ The polygon instance format is not easy to control the number of points, too muc

Here we provide a conversion script to convert the json format of label-studio output to COCO format.

⚠Only items that have been annotated with all images are supported.

```shell
cd path/to/playground/label_anything
python tools/convert_to_rle_mask_coco.py --json_file_path path/to/LS_json --out_dir path/to/output/file
Expand Down Expand Up @@ -261,8 +263,12 @@ First get mmdetection in the playground directory.
```shell
cd path/to/playground/
# build from source
# View the documentation to install mmdetection https://mmdetection.readthedocs.io/en/latest/get_started.html#
# pip install -U openmim
# mim install mmengine
# mim install "mmcv>=2.0.0"
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection; pip install -e . ; cd .
cd mmdetection; pip install -e .; cd ..
```

Then use this script to output the config for training on demand, where the template `mask-rcnn_r50_fpn` is provided in `label_anything/config_template`.
Expand Down