Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleGAN
提交
438deb1d
P
PaddleGAN
项目概览
PaddlePaddle
/
PaddleGAN
大约 2 年 前同步成功
通知
100
Star
7254
Fork
1210
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleGAN
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
438deb1d
编写于
2月 06, 2021
作者:
L
LielinJiang
提交者:
GitHub
2月 06, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add stylegan docs (#157)
Co-authored-by:
N
qingqing01
<
dangqingqing@baidu.com
>
上级
cf153154
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
37 addition
and
4 deletion
+37
-4
docs/en_US/tutorials/styleganv2.md
docs/en_US/tutorials/styleganv2.md
+37
-4
未找到文件。
docs/en_US/tutorials/styleganv2.md
浏览文件 @
438deb1d
...
@@ -54,10 +54,43 @@ python -u tools/styleganv2.py \
...
@@ -54,10 +54,43 @@ python -u tools/styleganv2.py \
-
n_col: the number of columns of the sampled picture
-
n_col: the number of columns of the sampled picture
-
cpu: whether to use cpu inference, if not, please remove it from the command
-
cpu: whether to use cpu inference, if not, please remove it from the command
### Train (TODO)
### Train
In the future, training scripts will be added to facilitate users to train more types of StyleGAN V2 image generators.
#### prepapre datasets
you can get ffhq dataset from
[
here
](
https://drive.google.com/drive/folders/1u2xu7bSrWxrbUxk-dT-UvEJq8IjdmNTP
)
for convenient, we provide
[
images256x256.tar
](
https://paddlegan.bj.bcebos.com/datasets/images256x256.tar
)
The structure of stylegan data is as following:
```
PaddleGAN
├── data
├── ffhq
├──images1024x1024
├── 00000.png
├── 00001.png
├── 00002.png
├── 00003.png
├── 00004.png
├──images256x256
├── 00000.png
├── 00001.png
├── 00002.png
├── 00003.png
├── 00004.png
├──custom_data
├── img0.png
├── img1.png
├── img2.png
├── img3.png
├── img4.png
...
```
train model
```
python tools/main.py -c configs/stylegan_v2_256_ffhq.yaml
```
## Results
## Results
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录