Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
ac1c206d
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 1 年 前同步成功
通知
115
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ac1c206d
编写于
7月 26, 2022
作者:
G
gaotingquan
提交者:
Tingquan Gao
8月 05, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tipc: support benchmark with fp32/fp16 training
上级
097de74d
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
97 addition
and
13 deletion
+97
-13
test_tipc/README.md
test_tipc/README.md
+1
-1
test_tipc/configs/HRNet/HRNet_W18_C_train_infer_python.txt
test_tipc/configs/HRNet/HRNet_W18_C_train_infer_python.txt
+6
-0
test_tipc/configs/MobileNetV1/MobileNetV1_train_infer_python.txt
...pc/configs/MobileNetV1/MobileNetV1_train_infer_python.txt
+1
-1
test_tipc/configs/MobileNetV2/MobileNetV2_train_infer_python.txt
...pc/configs/MobileNetV2/MobileNetV2_train_infer_python.txt
+1
-1
test_tipc/configs/MobileNetV3/MobileNetV3_large_x1_0_train_infer_python.txt
...MobileNetV3/MobileNetV3_large_x1_0_train_infer_python.txt
+1
-1
test_tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt
...tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt
+6
-0
test_tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt
..._tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt
...tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt
...tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt
..._tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt
...tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt
..._tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt
..._tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt
..._tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt
..._tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt
+6
-0
test_tipc/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt
...c/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt
+7
-1
test_tipc/configs/ResNet/ResNet152_train_infer_python.txt
test_tipc/configs/ResNet/ResNet152_train_infer_python.txt
+2
-2
test_tipc/configs/ResNet/ResNet50_train_infer_python.txt
test_tipc/configs/ResNet/ResNet50_train_infer_python.txt
+2
-2
test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt
test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt
+6
-0
test_tipc/configs/ShuffleNet/ShuffleNetV2_x1_0_train_infer_python.txt
...nfigs/ShuffleNet/ShuffleNetV2_x1_0_train_infer_python.txt
+2
-2
test_tipc/configs/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_infer_python.txt
...ransformer_tiny_patch4_window7_224_train_infer_python.txt
+2
-2
test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt
test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt
+6
-0
未找到文件。
test_tipc/README.md
浏览文件 @
ac1c206d
...
...
@@ -31,7 +31,7 @@
```
./test_tipc/
├── common_func.sh #test_*.sh会调用到的公共函数
├── config # 配置文件目录
├── config
s
# 配置文件目录
│ ├── MobileNetV3 # MobileNetV3系列模型测试配置文件目录
│ │ ├── MobileNetV3_large_x1_0_train_infer_python.txt #基础训练预测配置文件
│ │ ├── MobileNetV3_large_x1_0_train_linux_gpu_fleet_amp_infer_python_linux_gpu_cpu.txt #多机多卡训练预测配置文件
...
...
test_tipc/configs/HRNet/HRNet_W18_C_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -50,5 +50,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.benchmark:False
null:null
null:null
===========================train_benchmark_params==========================
batch_size:64
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/MobileNetV1/MobileNetV1_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -52,7 +52,7 @@ null:null
null:null
===========================train_benchmark_params==========================
batch_size:64|128
fp_items:fp32
fp_items:fp32
|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
...
...
test_tipc/configs/MobileNetV2/MobileNetV2_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -52,7 +52,7 @@ null:null
null:null
===========================train_benchmark_params==========================
batch_size:64|128
fp_items:fp32
fp_items:fp32
|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
...
...
test_tipc/configs/MobileNetV3/MobileNetV3_large_x1_0_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -52,7 +52,7 @@ null:null
null:null
===========================train_benchmark_params==========================
batch_size:256|640
fp_items:fp32
fp_items:fp32
|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
...
...
test_tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o PreProcess.tran
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:128
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
test_tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o PreProcess.tran
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:128
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
test_tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:512
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -49,5 +49,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.benchmark:False
null:null
===========================train_benchmark_params==========================
batch_size:500
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/ResNet/ResNet152_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -51,8 +51,8 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
null:null
null:null
===========================train_benchmark_params==========================
batch_size:32
fp_items:fp32
batch_size:32
|64
fp_items:fp32
|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
...
...
test_tipc/configs/ResNet/ResNet50_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -51,8 +51,8 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
null:null
null:null
===========================train_benchmark_params==========================
batch_size:128
fp_items:fp32
batch_size:128
|64
fp_items:fp32
|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
...
...
test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -50,5 +50,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.benchmark:False
null:null
null:null
===========================train_benchmark_params==========================
batch_size:64
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/ShuffleNet/ShuffleNetV2_x1_0_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -52,9 +52,9 @@ null:null
null:null
===========================train_benchmark_params==========================
batch_size:256|1536
fp_items:fp32
fp_items:fp32
|fp16
epoch:2
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
test_tipc/configs/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -51,8 +51,8 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
null:null
null:null
===========================train_benchmark_params==========================
batch_size:64|104
fp_items:fp32
batch_size:64|104
|128
fp_items:fp32
|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
...
...
test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt
浏览文件 @
ac1c206d
...
...
@@ -50,5 +50,11 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.benchmark:False
null:null
null:null
===========================train_benchmark_params==========================
batch_size:128
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,224,224]}]
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录