Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleGAN
提交
49ef722c
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看板
未验证
提交
49ef722c
编写于
12月 21, 2021
作者:
L
lzzyzlbb
提交者:
GitHub
12月 21, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix tipc dataset of msvsr & basicvsr (#534)
上级
e106f05d
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
28 addition
and
27 deletion
+28
-27
test_tipc/configs/basicvsr/train_infer_python.txt
test_tipc/configs/basicvsr/train_infer_python.txt
+2
-2
test_tipc/configs/msvsr/train_infer_python.txt
test_tipc/configs/msvsr/train_infer_python.txt
+3
-3
test_tipc/prepare.sh
test_tipc/prepare.sh
+18
-18
test_tipc/results/python_basicvsr_results_fp32.txt
test_tipc/results/python_basicvsr_results_fp32.txt
+2
-2
test_tipc/results/python_msvsr_results_fp32.txt
test_tipc/results/python_msvsr_results_fp32.txt
+3
-2
未找到文件。
test_tipc/configs/basicvsr/train_infer_python.txt
浏览文件 @
49ef722c
...
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./data/basicvsr_reds/test
null:null
##
trainer:norm_train
norm_train:tools/main.py -c configs/basicvsr_reds.yaml --seed 123 -o dataset.train.
dataset.num_clips=2 dataset.train.
num_workers=0 log_config.interval=1 snapshot_config.interval=5
norm_train:tools/main.py -c configs/basicvsr_reds.yaml --seed 123 -o dataset.train.num_workers=0 log_config.interval=1 snapshot_config.interval=5
pact_train:null
fpgm_train:null
distill_train:null
...
...
@@ -37,7 +37,7 @@ inference_dir:basicvsrmodel_generator
train_model:./inference/basicvsr/basicvsrmodel_generator
infer_export:null
infer_quant:False
inference:tools/inference.py --model_type basicvsr -c configs/basicvsr_reds.yaml --seed 123 -o dataset.test.num_
clips=2 dataset.test.number_
frames=6 --output_path test_tipc/output/
inference:tools/inference.py --model_type basicvsr -c configs/basicvsr_reds.yaml --seed 123 -o dataset.test.num_frames=6 --output_path test_tipc/output/
--device:gpu
null:null
null:null
...
...
test_tipc/configs/msvsr/train_infer_python.txt
浏览文件 @
49ef722c
...
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./data/msvsr_reds/test
null:null
##
trainer:norm_train
norm_train:tools/main.py -c configs/msvsr_reds.yaml --seed 123 -o dataset.train.
dataset.num_clips=2 dataset.train.num_workers=0 log_config.interval=1 snapshot_config.interval=5 dataset.train.dataset.number
_frames=2
norm_train:tools/main.py -c configs/msvsr_reds.yaml --seed 123 -o dataset.train.
num_workers=0 log_config.interval=1 snapshot_config.interval=5 dataset.train.dataset.num
_frames=2
pact_train:null
fpgm_train:null
distill_train:null
...
...
@@ -37,8 +37,8 @@ inference_dir:multistagevsrmodel_generator
train_model:./inference/msvsr/multistagevsrmodel_generator
infer_export:null
infer_quant:False
inference:tools/inference.py --model_type msvsr -c configs/msvsr_reds.yaml --seed 123 -o dataset.test.num_
clips=2 dataset.test.number_
frames=2 --output_path test_tipc/output/
--device:
g
pu
inference:tools/inference.py --model_type msvsr -c configs/msvsr_reds.yaml --seed 123 -o dataset.test.num_frames=2 --output_path test_tipc/output/
--device:
c
pu
null:null
null:null
null:null
...
...
test_tipc/prepare.sh
浏览文件 @
49ef722c
...
...
@@ -53,13 +53,13 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
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
}
==
"basicvsr"
]
;
then
rm
-rf
./data/
basicvsr
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
basicvsr
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
basicvsr
_lite.tar
&&
cd
../
rm
-rf
./data/
reds
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
reds
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
reds
_lite.tar
&&
cd
../
elif
[
${
model_name
}
==
"msvsr"
]
;
then
rm
-rf
./data/
basicvsr
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
basicvsr
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
basicvsr
_lite.tar
&&
cd
../
rm
-rf
./data/
reds
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
reds
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
reds
_lite.tar
&&
cd
../
fi
elif
[
${
MODE
}
=
"whole_train_whole_infer"
]
;
then
...
...
@@ -90,13 +90,13 @@ elif [ ${MODE} = "lite_train_whole_infer" ];then
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/ffhq.tar
--no-check-certificate
cd
./data/
&&
tar
xf ffhq.tar
&&
cd
../
elif
[
${
model_name
}
==
"basicvsr"
]
;
then
rm
-rf
./data/
REDS
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
basicvsr
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
basicvsr
_lite.tar
&&
cd
../
rm
-rf
./data/
reds
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
reds
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
reds
_lite.tar
&&
cd
../
elif
[
${
model_name
}
==
"msvsr"
]
;
then
rm
-rf
./data/
REDS
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
basicvsr
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
basicvsr
_lite.tar
&&
cd
../
rm
-rf
./data/
reds
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
reds
_lite.tar
--no-check-certificate
cd
./data/
&&
tar
xf
reds
_lite.tar
&&
cd
../
fi
elif
[
${
MODE
}
=
"whole_infer"
]
;
then
if
[
${
model_name
}
=
"pix2pix"
]
;
then
...
...
@@ -127,19 +127,19 @@ elif [ ${MODE} = "whole_infer" ];then
cd
./inference
&&
tar
xf stylegan2_1024.tar
&&
cd
../
cd
./data/
&&
tar
xf ffhq.tar
&&
cd
../
elif
[
${
model_name
}
==
"basicvsr"
]
;
then
rm
-rf
./data/
basic
*
rm
-rf
./data/
reds
*
rm
-rf
./inference/basic
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
basicvsr_lite_test
.tar
--no-check-certificate
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
reds_lite
.tar
--no-check-certificate
wget
-nc
-P
./inference https://paddlegan.bj.bcebos.com/static_model/basicvsr.tar
--no-check-certificate
cd
./inference
&&
tar
xf basicvsr.tar
&&
cd
../
cd
./data/
&&
tar
xf
basicvsr_lite_test
.tar
&&
cd
../
cd
./data/
&&
tar
xf
reds_lite
.tar
&&
cd
../
elif
[
${
model_name
}
==
"msvsr"
]
;
then
rm
-rf
./data/
basic
*
rm
-rf
./data/
reds
*
rm
-rf
./inference/msvsr
*
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
basicvsr_lite_test
.tar
--no-check-certificate
wget
-nc
-P
./data/ https://paddlegan.bj.bcebos.com/datasets/
reds_lite
.tar
--no-check-certificate
wget
-nc
-P
./inference https://paddlegan.bj.bcebos.com/static_model/msvsr.tar
--no-check-certificate
cd
./inference
&&
tar
xf msvsr.tar
&&
cd
../
cd
./data/
&&
tar
xf
basicvsr_lite_test
.tar
&&
cd
../
cd
./data/
&&
tar
xf
reds_lite
.tar
&&
cd
../
fi
fi
test_tipc/results/python_basicvsr_results_fp32.txt
浏览文件 @
49ef722c
Metric psnr: 2
8.2953
Metric ssim: 0.
8334
Metric psnr: 2
7.0864
Metric ssim: 0.
7835
test_tipc/results/python_msvsr_results_fp32.txt
浏览文件 @
49ef722c
c psnr: 27.2885
Metric ssim: 0.7969
Metric psnr: 23.6020
Metric ssim: 0.5636
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录