Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleGAN
提交
7c976e4b
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看板
未验证
提交
7c976e4b
编写于
9月 15, 2022
作者:
B
Birdylx
提交者:
GitHub
9月 15, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TIPC] Update train_infer_python log dir (#690)
* Update TIPC log dir * Update TIPC log dir
上级
d5216d60
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
9 deletion
+5
-9
test_tipc/configs/edvr/train_amp_infer_python.txt
test_tipc/configs/edvr/train_amp_infer_python.txt
+0
-6
test_tipc/configs/edvr/train_infer_python.txt
test_tipc/configs/edvr/train_infer_python.txt
+1
-1
test_tipc/test_train_inference_python.sh
test_tipc/test_train_inference_python.sh
+4
-2
未找到文件。
test_tipc/configs/edvr/train_amp_infer_python.txt
浏览文件 @
7c976e4b
...
...
@@ -24,9 +24,3 @@ null:null
eval:null
null:null
##
===========================train_benchmark_params==========================
batch_size:4|64
fp_items:fp32
total_iters:100
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_cudnn_exhaustive_search=1
test_tipc/configs/edvr/train_infer_python.txt
浏览文件 @
7c976e4b
...
...
@@ -25,7 +25,7 @@ eval:null
null:null
##
===========================train_benchmark_params==========================
batch_size:
4|
64
batch_size:64
fp_items:fp32
total_iters:100
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
...
...
test_tipc/test_train_inference_python.sh
浏览文件 @
7c976e4b
...
...
@@ -73,7 +73,7 @@ save_log_key=$(func_parser_key "${lines[48]}")
infer_key1
=
$(
func_parser_key
"
${
lines
[50]
}
"
)
infer_value1
=
$(
func_parser_value
"
${
lines
[50]
}
"
)
LOG_PATH
=
"./test_tipc/output/
${
model_name
}
"
LOG_PATH
=
"./test_tipc/output/
${
model_name
}
/
${
MODE
}
"
mkdir
-p
${
LOG_PATH
}
status_log
=
"
${
LOG_PATH
}
/results_python.log"
...
...
@@ -248,10 +248,12 @@ else
cmd
=
"
${
python
}
-m paddle.distributed.launch --ips=
${
ips
}
--gpus=
${
gpu
}
${
run_train
}
${
set_use_gpu
}
${
set_save_model
}
${
set_train_params1
}
${
set_pretrain
}
${
set_epoch
}
${
set_batchsize
}
${
set_amp_config
}
${
set_amp_level
}
"
fi
# run train
eval
"unset CUDA_VISIBLE_DEVICES"
export
FLAGS_cudnn_deterministic
=
True
eval
$cmd
echo
$cmd
log_name
=
${
train_model_name
/checkpoint.pdparams/.txt
}
train_log_path
=
$(
echo
"
${
save_log
}
/
${
log_name
}
"
)
eval
"cat
${
train_log_path
}
>>
${
save_log
}
.log"
status_check
$?
"
${
cmd
}
"
"
${
status_log
}
"
set_eval_pretrain
=
$(
func_set_params
"
${
pretrain_model_key
}
"
"
${
save_log
}
/
${
train_model_name
}
"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录