Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
CodeFormer_pytorch
Commits
71974efd
Commit
71974efd
authored
Jan 10, 2024
by
mashun1
Browse files
codeformer
parent
b069ebb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
README.md
README.md
+8
-5
No files found.
README.md
View file @
71974efd
...
...
@@ -98,17 +98,17 @@ Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一
dataset
|—— ffhq_512
|—— xxx.png
├── 00522.png
├── 01459.png
├── 02090.png
├── xxx.png
注意:原始数据为
`1024x1024`
需要处理为
`512x512`
。
注意:原始数据为
`1024x1024`
需要处理为
`512x512`
,可运行
`data_process.py`
对数据进行处理
。
## 推理
### 模型下载
百度网盘链接:https://pan.baidu.com/s/1CuntFQYr9gnkH7zopWdYtQ
(提取码:kwai)
Github:https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0
weights
...
...
@@ -190,6 +190,9 @@ Github:https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4323 basicsr/train.py -opt options/CodeFormer_stage3.yml --launcher pytorch
注意:
`vqgan`
为
`net_g_xxx.pth`
,
`net_d`
为第一阶段生成。
## result

...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment