Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
3b07421e
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看板
提交
3b07421e
编写于
9月 13, 2021
作者:
D
dongshuilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update slim for whole_chain
上级
74622af4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
11 deletion
+18
-11
tests/config/MobileNetV3_large_x1_0.txt
tests/config/MobileNetV3_large_x1_0.txt
+12
-5
tests/config/ResNet50_vd.txt
tests/config/ResNet50_vd.txt
+5
-5
tests/test.sh
tests/test.sh
+1
-1
未找到文件。
tests/config/MobileNetV3_large_x1_0.txt
浏览文件 @
3b07421e
...
@@ -12,10 +12,10 @@ train_model_name:latest
...
@@ -12,10 +12,10 @@ train_model_name:latest
train_infer_img_dir:./dataset/ILSVRC2012/val
train_infer_img_dir:./dataset/ILSVRC2012/val
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
|pact_train|fpgm_train
norm_train:tools/train.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNetV3_large_x1_0.yaml
norm_train:tools/train.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNetV3_large_x1_0.yaml
pact_train:
deploy/slim/slim
.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_quantization.yaml
pact_train:
tools/train
.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_quantization.yaml
fpgm_train:
deploy/slim/slim
.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_prune.yaml
fpgm_train:
tools/train
.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_prune.yaml
distill_train:null
distill_train:null
null:null
null:null
null:null
null:null
...
@@ -28,8 +28,8 @@ null:null
...
@@ -28,8 +28,8 @@ null:null
-o Global.save_inference_dir:./inference
-o Global.save_inference_dir:./inference
-o Global.pretrained_model:
-o Global.pretrained_model:
norm_export:tools/export_model.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNetV3_large_x1_0.yaml
norm_export:tools/export_model.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNetV3_large_x1_0.yaml
quant_export:
deploy/slim/slim.py -m export -c ppcls/configs/slim/MobileNetV3_large_x1_0_quantal
ization.yaml
quant_export:
tools/export_model.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_quant
ization.yaml
fpgm_export:
deploy/slim/slim.py -m export
-c ppcls/configs/slim/MobileNetV3_large_x1_0_prune.yaml
fpgm_export:
tools/export_model.py
-c ppcls/configs/slim/MobileNetV3_large_x1_0_prune.yaml
distill_export:null
distill_export:null
export1:null
export1:null
export2:null
export2:null
...
@@ -49,3 +49,10 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
...
@@ -49,3 +49,10 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml
-o Global.save_log_path:null
-o Global.save_log_path:null
-o Global.benchmark:True
-o Global.benchmark:True
null:null
null:null
null:null
===========================cpp_infer_params===========================
use_gpu:0|1
cpu_threads:1|6
use_mkldnn:0|1
use_tensorrt:0|1
use_fp16:0|1
tests/config/ResNet50_vd.txt
浏览文件 @
3b07421e
...
@@ -12,10 +12,10 @@ train_model_name:latest
...
@@ -12,10 +12,10 @@ train_model_name:latest
train_infer_img_dir:./dataset/ILSVRC2012/val
train_infer_img_dir:./dataset/ILSVRC2012/val
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
|pact_train|fpgm_train
norm_train:tools/train.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml
norm_train:tools/train.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml
pact_train:
deploy/slim/slim
.py -c ppcls/configs/slim/ResNet50_vd_quantization.yaml
pact_train:
tools/train
.py -c ppcls/configs/slim/ResNet50_vd_quantization.yaml
fpgm_train:
deploy/slim/slim
.py -c ppcls/configs/slim/ResNet50_vd_prune.yaml
fpgm_train:
tools/train
.py -c ppcls/configs/slim/ResNet50_vd_prune.yaml
distill_train:null
distill_train:null
null:null
null:null
null:null
null:null
...
@@ -28,8 +28,8 @@ null:null
...
@@ -28,8 +28,8 @@ null:null
-o Global.save_inference_dir:./inference
-o Global.save_inference_dir:./inference
-o Global.pretrained_model:
-o Global.pretrained_model:
norm_export:tools/export_model.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml
norm_export:tools/export_model.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml
quant_export:
deploy/slim/slim.py -m export -c ppcls/configs/slim/ResNet50_vd_quantal
ization.yaml
quant_export:
tools/export_model.py -c ppcls/configs/slim/ResNet50_vd_quant
ization.yaml
fpgm_export:
deploy/slim/slim.py -m export
-c ppcls/configs/slim/ResNet50_vd_prune.yaml
fpgm_export:
tools/export_model.py
-c ppcls/configs/slim/ResNet50_vd_prune.yaml
distill_export:null
distill_export:null
export1:null
export1:null
export2:null
export2:null
...
...
tests/test.sh
浏览文件 @
3b07421e
...
@@ -380,7 +380,7 @@ else
...
@@ -380,7 +380,7 @@ else
set_pretrain
=
$(
func_set_params
"
${
pretrain_model_key
}
"
"
${
pretrain_model_value
}
"
)
set_pretrain
=
$(
func_set_params
"
${
pretrain_model_key
}
"
"
${
pretrain_model_value
}
"
)
set_batchsize
=
$(
func_set_params
"
${
train_batch_key
}
"
"
${
train_batch_value
}
"
)
set_batchsize
=
$(
func_set_params
"
${
train_batch_key
}
"
"
${
train_batch_value
}
"
)
set_train_params1
=
$(
func_set_params
"
${
train_param_key1
}
"
"
${
train_param_value1
}
"
)
set_train_params1
=
$(
func_set_params
"
${
train_param_key1
}
"
"
${
train_param_value1
}
"
)
set_use_gpu
=
$(
func_set_params
"
${
train_use_gpu_key
}
"
"
${
use_gpu
}
"
)
set_use_gpu
=
$(
func_set_params
"
${
train_use_gpu_key
}
"
"
${
train_use_gpu_value
}
"
)
save_log
=
"
${
LOG_PATH
}
/
${
trainer
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
"
save_log
=
"
${
LOG_PATH
}
/
${
trainer
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
"
# load pretrain from norm training if current trainer is pact or fpgm trainer
# load pretrain from norm training if current trainer is pact or fpgm trainer
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录