Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleGAN
提交
2b93a81d
P
PaddleGAN
项目概览
PaddlePaddle
/
PaddleGAN
1 年多 前同步成功
通知
97
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看板
未验证
提交
2b93a81d
编写于
3月 21, 2022
作者:
L
lzzyzlbb
提交者:
GitHub
3月 21, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix whole indfer (#600)
上级
edb2d6f5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
10 deletion
+10
-10
test_tipc/prepare.sh
test_tipc/prepare.sh
+10
-10
未找到文件。
test_tipc/prepare.sh
浏览文件 @
2b93a81d
...
...
@@ -74,11 +74,11 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
mv
./data/SinGAN-official_images/Images/stone.png ./data/singan
;;
esac
elif
[
${
MODE
}
=
"whole_train_whole_infer"
]
;
then
if
[
${
model_name
}
==
"
p
ix2pix"
]
;
then
if
[
${
model_name
}
==
"
P
ix2pix"
]
;
then
rm
-rf
./data/facades
*
wget
-nc
-P
./data/ http://efrosgans.eecs.berkeley.edu/pix2pix/datasets/facades.tar.gz
--no-check-certificate
cd
./data/
&&
tar
-xzf
facades.tar.gz
&&
cd
../
elif
[
${
model_name
}
==
"
cyclegan
"
]
;
then
elif
[
${
model_name
}
==
"
CycleGAN
"
]
;
then
rm
-rf
./data/horse2zebra
*
wget
-nc
-P
./data/ https://people.eecs.berkeley.edu/~taesung_park/CycleGAN/datasets/horse2zebra.zip
--no-check-certificate
cd
./data/
&&
unzip horse2zebra.zip
&&
cd
../
...
...
@@ -90,19 +90,19 @@ elif [ ${MODE} = "whole_train_whole_infer" ];then
mv
./data/SinGAN-official_images/Images/stone.png ./data/singan
fi
elif
[
${
MODE
}
=
"lite_train_whole_infer"
]
;
then
if
[
${
model_name
}
==
"
p
ix2pix"
]
;
then
if
[
${
model_name
}
==
"
P
ix2pix"
]
;
then
rm
-rf
./data/facades
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/pix2pix_facade_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf pix2pix_facade_lite.tar
&&
cd
../
elif
[
${
model_name
}
==
"
cyclegan
"
]
;
then
elif
[
${
model_name
}
==
"
CycleGAN
"
]
;
then
rm
-rf
./data/horse2zebra
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/cyclegan_horse2zebra_lite.tar
--no-check-certificate
--no-check-certificate
cd
./data/
&&
tar
xf cyclegan_horse2zebra_lite.tar
&&
cd
../
elif
[
${
model_name
}
==
"
fom
"
]
;
then
elif
[
${
model_name
}
==
"
FOMM
"
]
;
then
rm
-rf
./data/first_order
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/fom_lite.tar
--no-check-certificate
--no-check-certificate
cd
./data/
&&
tar
xf fom_lite.tar
&&
cd
../
elif
[
${
model_name
}
==
"
stylegan
2"
]
;
then
elif
[
${
model_name
}
==
"
StyleGANv
2"
]
;
then
rm
-rf
./data/ffhq
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/ffhq.tar
--no-check-certificate
cd
./data/
&&
tar
xf ffhq.tar
&&
cd
../
...
...
@@ -122,28 +122,28 @@ elif [ ${MODE} = "lite_train_whole_infer" ];then
mv
./data/SinGAN-official_images/Images/stone.png ./data/singan
fi
elif
[
${
MODE
}
=
"whole_infer"
]
;
then
if
[
${
model_name
}
=
"
p
ix2pix"
]
;
then
if
[
${
model_name
}
=
"
P
ix2pix"
]
;
then
rm
-rf
./data/facades
*
rm
-rf
./inference/pix2pix
*
wget
-nc
-P
./inference https://paddlegan.bj.bcebos.com/static_model/pix2pix_facade.tar
--no-check-certificate
wget
-nc
-P
./data https://paddlegan.bj.bcebos.com/datasets/facades_test.tar
--no-check-certificate
cd
./data
&&
tar
xf facades_test.tar
&&
mv
facades_test facades
&&
cd
../
cd
./inference
&&
tar
xf pix2pix_facade.tar
&&
cd
../
elif
[
${
model_name
}
=
"
cyclegan
"
]
;
then
elif
[
${
model_name
}
=
"
CycleGAN
"
]
;
then
rm
-rf
./data/cyclegan
*
rm
-rf
./inference/cyclegan
*
wget
-nc
-P
./inference https://paddlegan.bj.bcebos.com/static_model/cyclegan_horse2zebra.tar
--no-check-certificate
wget
-nc
-P
./data https://paddlegan.bj.bcebos.com/datasets/cyclegan_horse2zebra_test.tar
--no-check-certificate
cd
./data
&&
tar
xf cyclegan_horse2zebra_test.tar
&&
mv
cyclegan_test horse2zebra
&&
cd
../
cd
./inference
&&
tar
xf cyclegan_horse2zebra.tar
&&
cd
../
elif
[
${
model_name
}
==
"
fom
"
]
;
then
elif
[
${
model_name
}
==
"
FOMM
"
]
;
then
rm
-rf
./data/first_order
*
rm
-rf
./inference/fom_dy2st
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/fom_lite_test.tar
--no-check-certificate
wget
-nc
-P
./inference https://paddlegan.bj.bcebos.com/static_model/fom_dy2st.tar
--no-check-certificate
cd
./data/
&&
tar
xf fom_lite_test.tar
&&
cd
../
cd
./inference
&&
tar
xf fom_dy2st.tar
&&
cd
../
elif
[
${
model_name
}
==
"
stylegan
2"
]
;
then
elif
[
${
model_name
}
==
"
StyleGANv
2"
]
;
then
rm
-rf
./data/ffhq
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/ffhq.tar
--no-check-certificate
wget
-nc
-P
./inference https://paddlegan.bj.bcebos.com/static_model/stylegan2_1024.tar
--no-check-certificate
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录