Skip to content

Commit c021434

Browse files
committed
release training codes and config files.
1 parent aeb20c8 commit c021434

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ python inference_colorization.py --input_path [image folder]|[image path]
143143
python inference_inpainting.py --input_path [image folder]|[image path]
144144
```
145145
#### Training:
146-
You can find training commands in training documents: [English](docs/train.md) **|** [简体中文](docs/train_CN.md).
146+
The training commands can be found in the documents: [English](docs/train.md) **|** [简体中文](docs/train_CN.md).
147147

148148
### Citation
149149
If our work is useful for your research, please consider citing:

docs/train.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Training
1010

11-
#### 👾 Stage I - VQGAN
11+
### 👾 Stage I - VQGAN
1212
- Training VQGAN:
1313
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/VQGAN_512_ds32_nearest_stage1.yml --launcher pytorch
1414
@@ -17,11 +17,11 @@
1717
1818
- If you don't require training your own VQGAN, you can find pre-trained VQGAN and the corresponding code sequence in the folder of Releases v0.1.0: https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0
1919

20-
#### 🚀 Stage II - CodeFormer (w=0)
20+
### 🚀 Stage II - CodeFormer (w=0)
2121
- Training Code Sequence Prediction Module:
2222
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4322 basicsr/train.py -opt options/CodeFormer_stage2.yml --launcher pytorch
2323
24-
#### 🛸 Stage III - CodeFormer (w=1)
24+
### 🛸 Stage III - CodeFormer (w=1)
2525
- Training Controllable Module:
2626
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4323 basicsr/train.py -opt options/CodeFormer_stage3.yml --launcher pytorch
2727

docs/train_CN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## 训练
1010

11-
#### 👾 阶段 I - VQGAN
11+
### 👾 阶段 I - VQGAN
1212
- 训练VQGAN:
1313
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/VQGAN_512_ds32_nearest_stage1.yml --launcher pytorch
1414
@@ -17,11 +17,11 @@
1717
1818
- 如果你不需要训练自己的VQGAN,可以在Release v0.1.0文档中找到预训练的VQGAN和对应的密码本序列: https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0
1919

20-
#### 🚀 阶段 II - CodeFormer (w=0)
20+
### 🚀 阶段 II - CodeFormer (w=0)
2121
- 训练密码本训练预测模块:
2222
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4322 basicsr/train.py -opt options/CodeFormer_stage2.yml --launcher pytorch
2323
24-
#### 🛸 阶段 III - CodeFormer (w=1)
24+
### 🛸 阶段 III - CodeFormer (w=1)
2525
- 训练可调模块:
2626
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4323 basicsr/train.py -opt options/CodeFormer_stage3.yml --launcher pytorch
2727

0 commit comments

Comments
 (0)