Update README.md
Browse files
README.md
CHANGED
|
@@ -25,6 +25,18 @@ mim install mmcv==2.0.0
|
|
| 25 |
cd mmsegmentation
|
| 26 |
pip install -v -e .
|
| 27 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
***Creating a Dataset***
|
| 29 |
Here is an example if you want to make own dataset.
|
| 30 |
|
|
@@ -145,16 +157,6 @@ wget https://huggingface.co/CVRPDataset/Model/resolve/main/checkpoint/Mask2Forme
|
|
| 145 |
```bash
|
| 146 |
python ../run/test.py -d CVRPDataset/val -m CVRP_configs/CVRP_mask2former.py -pth work_dirs/CVRP_mask2former/Mask2Former.pth -o outputs/CVRP_mask2former
|
| 147 |
```
|
| 148 |
-
### UI
|
| 149 |
-
##### We create a web user interface for annotation based on gradio.
|
| 150 |
-
```bash
|
| 151 |
-
pip install gradio
|
| 152 |
-
python app.py
|
| 153 |
-
```
|
| 154 |
-
##### The UI :
|
| 155 |
-
1.Users can upload an image or use a sample image at ①.Then, they can select one of four models at ②. We recommend **Mask2Former**. After that, click *Run*.
|
| 156 |
-
2.We provide two forms of segmentation results for download at ③.
|
| 157 |
-

|
| 158 |
|
| 159 |
### LabelMe
|
| 160 |
##### If you need to manually adjust the annotation, you can use LabelMe.
|
|
|
|
| 25 |
cd mmsegmentation
|
| 26 |
pip install -v -e .
|
| 27 |
```
|
| 28 |
+
### UI
|
| 29 |
+
##### We create a web user interface for annotation based on gradio.
|
| 30 |
+
```bash
|
| 31 |
+
pip install gradio
|
| 32 |
+
pip install "mmdet>=3.0.0rc4"
|
| 33 |
+
python app.py
|
| 34 |
+
```
|
| 35 |
+
##### The UI :
|
| 36 |
+
1.Users can upload an image or use a sample image at ①.Then, they can select one of four models at ②. We recommend **Mask2Former**. After that, click *Run*.
|
| 37 |
+
2.We provide two forms of segmentation results for download at ③.
|
| 38 |
+

|
| 39 |
+
|
| 40 |
***Creating a Dataset***
|
| 41 |
Here is an example if you want to make own dataset.
|
| 42 |
|
|
|
|
| 157 |
```bash
|
| 158 |
python ../run/test.py -d CVRPDataset/val -m CVRP_configs/CVRP_mask2former.py -pth work_dirs/CVRP_mask2former/Mask2Former.pth -o outputs/CVRP_mask2former
|
| 159 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
|
| 161 |
### LabelMe
|
| 162 |
##### If you need to manually adjust the annotation, you can use LabelMe.
|