Skip to content

Commit

Permalink
Update readme descrptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ckkelvinchan committed May 31, 2021
1 parent 270b066 commit 88310ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configs/restorers/tdan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,16 @@ You can use the following command to train a model.
./tools/dist_train.sh ${CONFIG_FILE} ${GPU_NUM} [optional arguments]
```

TDAN is trained with two stages. For example, when training on Bicubic downsampling, you need to use
TDAN is trained with two stages. For example:

**Stage 1**: Training with a larger learning rate (1e-4)


```shell
./tools/dist_train.sh configs/restorers/tdan/tdan_vimeo90k_bix4_lr1e-4_400k.py 8
```

followed by
**Stage 2**: Fine-tune with a smaller learning rate (5e-5)

```shell
./tools/dist_train.sh configs/restorers/tdan/tdan_vimeo90k_bix4_ft_lr5e-5_400k.py 8
Expand Down

0 comments on commit 88310ad

Please sign in to comment.