CVRPDataset commited on
Commit
29841a4
·
verified ·
1 Parent(s): 7671169

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -8
README.md CHANGED
@@ -65,8 +65,9 @@ Here is an example if you want to make own dataset.
65
 
66
  ```bash
67
  cd mmsegmentation/mmseg/datasets
 
68
  wget https://huggingface.co/CVRPDataset/Model/resolve/main/dataset_configs/CVRP.py
69
- wget https://huggingface.co/CVRPDataset/Model/resolve/main/dataset_configs/__init__.py
70
  cd ../../configs/_base_/datasets
71
  wget https://huggingface.co/CVRPDataset/Model/resolve/main/dataset_configs/CVRP_pipeline.py
72
  ```
@@ -109,14 +110,15 @@ If you want to register your own dataset,
109
  You can generate model config files using *run_configs.py*
110
 
111
  ```bash
112
- mkdir 'work_dirs' 'CVRP_configs' 'outputs'
113
- python run/run_configs.py --model_name deeplabv3plus -m mmsegmentation/configs/deeplabv3plus/deeplabv3plus_r101-d8_4xb4-160k_ade20k-512x512.py -d mmsegmentation/configs/_base_/datasets/CVRP_pipeline.py -c 2 -w mmsegmentation/work_dirs -s mmsegmentation/CVRP_configs
 
114
 
115
- python run/run_configs.py --model_name knet -m mmsegmentation/configs/knet/knet-s3_swin-l_upernet_8xb2-adamw-80k_ade20k-512x512.py -d mmsegmentation/configs/_base_/datasets/CVRP_pipeline.py -c 2 -w mmsegmentation/work_dirs -s mmsegmentation/CVRP_configs
116
 
117
- python run/run_configs.py --model_name mask2former -m mmsegmentation/configs/mask2former/mask2former_swin-l-in22k-384x384-pre_8xb2-160k_ade20k-640x640.py -d mmsegmentation/configs/_base_/datasets/CVRP_pipeline.py -c 2 -w mmsegmentation/work_dirs -s mmsegmentation/CVRP_configs
118
 
119
- python run/run_configs.py --model_name segformer -m mmsegmentation/configs/segformer/segformer_mit-b5_8xb2-160k_ade20k-512x512.py -d mmsegmentation/configs/_base_/datasets/CVRP_pipeline.py -c 2 -w mmsegmentation/work_dirs -s mmsegmentation/CVRP_configs
120
  ```
121
  Also, you can download model config files [here](https://huggingface.co/CVRPDataset/Model/tree/main/model_configs).
122
  ```bash
@@ -133,8 +135,7 @@ Also, you can download checkpoint [here](https://huggingface.co/CVRPDataset/Mode
133
 
134
  ***Test***
135
  ```bash
136
- cd ..
137
- python run/test.py -d mmsegmentation/CVRPDataset/val -m mmsegmentation/CVRP_configs/CVRP_mask2former.py -pth mmsegmentation/work_dirs/CVRP_mask2former/Mask2Former.pth -o mmsegmentation/outputs/CVRP_mask2former
138
  ```
139
  ### UI
140
  ##### We create a web user interface for annotation based on gradio:
 
65
 
66
  ```bash
67
  cd mmsegmentation/mmseg/datasets
68
+ rm -rf __init__.py # delete original file
69
  wget https://huggingface.co/CVRPDataset/Model/resolve/main/dataset_configs/CVRP.py
70
+ wget https://huggingface.co/CVRPDataset/Model/resolve/main/dataset_configs/__init__.py
71
  cd ../../configs/_base_/datasets
72
  wget https://huggingface.co/CVRPDataset/Model/resolve/main/dataset_configs/CVRP_pipeline.py
73
  ```
 
110
  You can generate model config files using *run_configs.py*
111
 
112
  ```bash
113
+ cd mmsegmentation
114
+ mkdir 'work_dirs' 'CVRP_configs' 'outputs' 'CVRPDataset'
115
+ python ../run/run_configs.py --model_name deeplabv3plus -m configs/deeplabv3plus/deeplabv3plus_r101-d8_4xb4-160k_ade20k-512x512.py -d configs/_base_/datasets/CVRP_pipeline.py -c 2 -w work_dirs -s CVRP_configs
116
 
117
+ python ../run/run_configs.py --model_name knet -m configs/knet/knet-s3_swin-l_upernet_8xb2-adamw-80k_ade20k-512x512.py -d configs/_base_/datasets/CVRP_pipeline.py -c 2 -w work_dirs -s CVRP_configs
118
 
119
+ python ../run/run_configs.py --model_name mask2former -m configs/mask2former/mask2former_swin-l-in22k-384x384-pre_8xb2-160k_ade20k-640x640.py -d configs/_base_/datasets/CVRP_pipeline.py -c 2 -w work_dirs -s CVRP_configs
120
 
121
+ python ../run/run_configs.py --model_name segformer -m configs/segformer/segformer_mit-b5_8xb2-160k_ade20k-512x512.py -d configs/_base_/datasets/CVRP_pipeline.py -c 2 -w work_dirs -s CVRP_configs
122
  ```
123
  Also, you can download model config files [here](https://huggingface.co/CVRPDataset/Model/tree/main/model_configs).
124
  ```bash
 
135
 
136
  ***Test***
137
  ```bash
138
+ python ../run/test.py -d mmsegmentation/CVRPDataset/val -m mmsegmentation/CVRP_configs/CVRP_mask2former.py -pth mmsegmentation/work_dirs/CVRP_mask2former/Mask2Former.pth -o mmsegmentation/outputs/CVRP_mask2former
 
139
  ```
140
  ### UI
141
  ##### We create a web user interface for annotation based on gradio: