File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ python inference_colorization.py --input_path [image folder]|[image path]
143
143
python inference_inpainting.py --input_path [image folder]|[image path]
144
144
```
145
145
#### 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 ) .
147
147
148
148
### Citation
149
149
If our work is useful for your research, please consider citing:
Original file line number Diff line number Diff line change 8
8
9
9
## Training
10
10
11
- #### 👾 Stage I - VQGAN
11
+ ### 👾 Stage I - VQGAN
12
12
- Training VQGAN:
13
13
> 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
14
14
17
17
18
18
- 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
19
19
20
- #### 🚀 Stage II - CodeFormer (w=0)
20
+ ### 🚀 Stage II - CodeFormer (w=0)
21
21
- Training Code Sequence Prediction Module:
22
22
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4322 basicsr/train.py -opt options/CodeFormer_stage2.yml --launcher pytorch
23
23
24
- #### 🛸 Stage III - CodeFormer (w=1)
24
+ ### 🛸 Stage III - CodeFormer (w=1)
25
25
- Training Controllable Module:
26
26
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4323 basicsr/train.py -opt options/CodeFormer_stage3.yml --launcher pytorch
27
27
Original file line number Diff line number Diff line change 8
8
9
9
## 训练
10
10
11
- #### 👾 阶段 I - VQGAN
11
+ ### 👾 阶段 I - VQGAN
12
12
- 训练VQGAN:
13
13
> 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
14
14
17
17
18
18
- 如果你不需要训练自己的VQGAN,可以在Release v0.1.0文档中找到预训练的VQGAN和对应的密码本序列: https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0
19
19
20
- #### 🚀 阶段 II - CodeFormer (w=0)
20
+ ### 🚀 阶段 II - CodeFormer (w=0)
21
21
- 训练密码本训练预测模块:
22
22
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4322 basicsr/train.py -opt options/CodeFormer_stage2.yml --launcher pytorch
23
23
24
- #### 🛸 阶段 III - CodeFormer (w=1)
24
+ ### 🛸 阶段 III - CodeFormer (w=1)
25
25
- 训练可调模块:
26
26
> python -m torch.distributed.launch --nproc_per_node=8 --master_port=4323 basicsr/train.py -opt options/CodeFormer_stage3.yml --launcher pytorch
27
27
You can’t perform that action at this time.
0 commit comments