Skip to content

Commit 05457ec

Browse files
authored
Update README.md
1 parent f9389ca commit 05457ec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ cd EDTER
126126
bash ./tools/dist_train.sh configs/bsds/EDTER_BIMLA_320x320_80k_bsds_bs_8.py 2
127127
```
128128
#### Step2: The training of Stage II on BSDS500
129-
Change the '--global-model-path' in (tools/train_local.py)[https://github.com/MengyangPu/EDTER/blob/cf5ba2bc8e923ac97f760ea974d5502a6c73ff87/tools/train_local.py#L22C22-L23C32).
129+
Change the '--global-model-path' in tools/train_local.py
130+
https://github.com/MengyangPu/EDTER/blob/cf5ba2bc8e923ac97f760ea974d5502a6c73ff87/tools/train_local.py#L22C22-L23C32
130131
```shell
131132
cd EDTER
132133
bash ./tools/dist_train_local.sh ${GLOBALCONFIG_FILE} ${CONFIG_FILE} ${GPU_NUM}
@@ -148,8 +149,8 @@ bash ./tools/dist_train.sh configs/bsds/EDTER_BIMLA_320x320_80k_pascal_bs_8.py 2
148149
Note: The model trained on the PASCAL VOC Context dataset is used as the initialization model in Step2.
149150

150151
#### Step 2: The training of Stage I on BSDS500
151-
First, we set the path of the pre-training model in [train.py]( https://github.com/MengyangPu/EDTER/blob/main/tools/train.py)
152-
https://github.com/MengyangPu/EDTER/blob/3b1751abec5f0add6849393a9cbf2a8e73cc65f5/tools/train.py#L28
152+
First, we set the path of the pre-training model in [train.py](https://github.com/MengyangPu/EDTER/blob/main/tools/train.py)
153+
https://github.com/MengyangPu/EDTER/blob/3b1751abec5f0add6849393a9cbf2a8e73cc65f5/tools/train.py#L28-L29
153154
For example, parser.add_argument(
154155
'--load-from', type=str, default='../work_dirs/EDTER_BIMLA_320x320_80k_pascal_bs_8/iter_X0000.pth ',
155156
help='the checkpoint file to load weights from')

0 commit comments

Comments
 (0)