Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
524190a7
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看板
未验证
提交
524190a7
编写于
12月 10, 2021
作者:
W
Walter
提交者:
GitHub
12月 10, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1543 from RainFrost1/tipc_batch_size
fix tipc batch_size bug
上级
51c3a342
ab187e21
变更
18
显示空白变更内容
内联
并排
Showing
18 changed file
with
23 addition
and
23 deletion
+23
-23
ppcls/configs/ImageNet/EfficientNet/EfficientNetB5.yaml
ppcls/configs/ImageNet/EfficientNet/EfficientNetB5.yaml
+1
-1
test_tipc/config/CSPNet/CSPDarkNet53_train_infer_python.txt
test_tipc/config/CSPNet/CSPDarkNet53_train_infer_python.txt
+1
-1
test_tipc/config/DarkNet/DarkNet53_train_infer_python.txt
test_tipc/config/DarkNet/DarkNet53_train_infer_python.txt
+1
-1
test_tipc/config/EfficientNet/EfficientNetB1_train_infer_python.txt
...config/EfficientNet/EfficientNetB1_train_infer_python.txt
+1
-1
test_tipc/config/EfficientNet/EfficientNetB2_train_infer_python.txt
...config/EfficientNet/EfficientNetB2_train_infer_python.txt
+1
-1
test_tipc/config/EfficientNet/EfficientNetB3_train_infer_python.txt
...config/EfficientNet/EfficientNetB3_train_infer_python.txt
+1
-1
test_tipc/config/EfficientNet/EfficientNetB4_train_infer_python.txt
...config/EfficientNet/EfficientNetB4_train_infer_python.txt
+1
-1
test_tipc/config/EfficientNet/EfficientNetB5_train_infer_python.txt
...config/EfficientNet/EfficientNetB5_train_infer_python.txt
+1
-1
test_tipc/config/EfficientNet/EfficientNetB6_train_infer_python.txt
...config/EfficientNet/EfficientNetB6_train_infer_python.txt
+2
-2
test_tipc/config/EfficientNet/EfficientNetB7_train_infer_python.txt
...config/EfficientNet/EfficientNetB7_train_infer_python.txt
+2
-2
test_tipc/config/Inception/InceptionV3_train_infer_python.txt
..._tipc/config/Inception/InceptionV3_train_infer_python.txt
+1
-1
test_tipc/config/Inception/InceptionV4_train_infer_python.txt
..._tipc/config/Inception/InceptionV4_train_infer_python.txt
+1
-1
test_tipc/config/Xception/Xception41_deeplab_train_infer_python.txt
...config/Xception/Xception41_deeplab_train_infer_python.txt
+1
-1
test_tipc/config/Xception/Xception41_train_infer_python.txt
test_tipc/config/Xception/Xception41_train_infer_python.txt
+1
-1
test_tipc/config/Xception/Xception65_deeplab_train_infer_python.txt
...config/Xception/Xception65_deeplab_train_infer_python.txt
+1
-1
test_tipc/config/Xception/Xception65_train_infer_python.txt
test_tipc/config/Xception/Xception65_train_infer_python.txt
+1
-1
test_tipc/config/Xception/Xception71_train_infer_python.txt
test_tipc/config/Xception/Xception71_train_infer_python.txt
+1
-1
test_tipc/test_train_inference_python.sh
test_tipc/test_train_inference_python.sh
+4
-4
未找到文件。
ppcls/configs/ImageNet/EfficientNet/EfficientNetB5.yaml
浏览文件 @
524190a7
...
@@ -110,7 +110,7 @@ Infer:
...
@@ -110,7 +110,7 @@ Infer:
to_rgb
:
True
to_rgb
:
True
channel_first
:
False
channel_first
:
False
-
ResizeImage
:
-
ResizeImage
:
resize_short
:
4
4
8
resize_short
:
4
8
8
-
CropImage
:
-
CropImage
:
size
:
456
size
:
456
-
NormalizeImage
:
-
NormalizeImage
:
...
...
test_tipc/config/CSPNet/CSPDarkNet53_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/C
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/C
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeIage.resize_short=288 -o PreProcess.transform_ops.1.CropImage.size=256
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/DarkNet/DarkNet53_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/D
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/D
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=292 -o PreProcess.transform_ops.1.CropImage.size=256
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB1_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=272 -o PreProcess.transform_ops.1.CropImage.size=240
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB2_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=292 -o PreProcess.transform_ops.1.CropImage.size=260
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB3_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=332 -o PreProcess.transform_ops.1.CropImage.size=300
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB4_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=412 -o PreProcess.transform_ops.1.CropImage.size=320
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB5_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=488 -o PreProcess.transform_ops.1.CropImage.size=456
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB6_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -6,7 +6,7 @@ gpu_list:0|0,1
...
@@ -6,7 +6,7 @@ gpu_list:0|0,1
-o Global.auto_cast:null
-o Global.auto_cast:null
-o Global.epochs:lite_train_lite_infer=2|whole_train_whole_infer=120
-o Global.epochs:lite_train_lite_infer=2|whole_train_whole_infer=120
-o Global.output_dir:./output/
-o Global.output_dir:./output/
-o DataLoader.Train.sampler.batch_size:
8
-o DataLoader.Train.sampler.batch_size:
2
-o Global.pretrained_model:null
-o Global.pretrained_model:null
train_model_name:latest
train_model_name:latest
train_infer_img_dir:./dataset/ILSVRC2012/val
train_infer_img_dir:./dataset/ILSVRC2012/val
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=560 -o PreProcess.transform_ops.1.CropImage.size=528
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/EfficientNet/EfficientNetB7_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -6,7 +6,7 @@ gpu_list:0|0,1
...
@@ -6,7 +6,7 @@ gpu_list:0|0,1
-o Global.auto_cast:null
-o Global.auto_cast:null
-o Global.epochs:lite_train_lite_infer=2|whole_train_whole_infer=120
-o Global.epochs:lite_train_lite_infer=2|whole_train_whole_infer=120
-o Global.output_dir:./output/
-o Global.output_dir:./output/
-o DataLoader.Train.sampler.batch_size:
8
-o DataLoader.Train.sampler.batch_size:
2
-o Global.pretrained_model:null
-o Global.pretrained_model:null
train_model_name:latest
train_model_name:latest
train_infer_img_dir:./dataset/ILSVRC2012/val
train_infer_img_dir:./dataset/ILSVRC2012/val
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/E
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=632 -o PreProcess.transform_ops.1.CropImage.size=600
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Inception/InceptionV3_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/I
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/I
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Inception/InceptionV4_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/I
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/I
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Xception/Xception41_deeplab_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Xception/Xception41_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Xception/Xception65_deeplab_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Xception/Xception65_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/config/Xception/Xception71_train_infer_python.txt
浏览文件 @
524190a7
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
...
@@ -37,7 +37,7 @@ pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/X
infer_model:../inference/
infer_model:../inference/
infer_export:True
infer_export:True
infer_quant:Fasle
infer_quant:Fasle
inference:python/predict_cls.py -c configs/inference_cls.yaml
inference:python/predict_cls.py -c configs/inference_cls.yaml
-o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
-o Global.use_gpu:True|False
-o Global.use_gpu:True|False
-o Global.enable_mkldnn:True|False
-o Global.enable_mkldnn:True|False
-o Global.cpu_num_threads:1|6
-o Global.cpu_num_threads:1|6
...
...
test_tipc/test_train_inference_python.sh
浏览文件 @
524190a7
...
@@ -23,7 +23,7 @@ epoch_key=$(func_parser_key "${lines[6]}")
...
@@ -23,7 +23,7 @@ epoch_key=$(func_parser_key "${lines[6]}")
epoch_num
=
$(
func_parser_params
"
${
lines
[6]
}
"
)
epoch_num
=
$(
func_parser_params
"
${
lines
[6]
}
"
)
save_model_key
=
$(
func_parser_key
"
${
lines
[7]
}
"
)
save_model_key
=
$(
func_parser_key
"
${
lines
[7]
}
"
)
train_batch_key
=
$(
func_parser_key
"
${
lines
[8]
}
"
)
train_batch_key
=
$(
func_parser_key
"
${
lines
[8]
}
"
)
train_batch_value
=
$(
func_parser_
params
"
${
lines
[8]
}
"
)
train_batch_value
=
$(
func_parser_
value
"
${
lines
[8]
}
"
)
pretrain_model_key
=
$(
func_parser_key
"
${
lines
[9]
}
"
)
pretrain_model_key
=
$(
func_parser_key
"
${
lines
[9]
}
"
)
pretrain_model_value
=
$(
func_parser_value
"
${
lines
[9]
}
"
)
pretrain_model_value
=
$(
func_parser_value
"
${
lines
[9]
}
"
)
train_model_name
=
$(
func_parser_value
"
${
lines
[10]
}
"
)
train_model_name
=
$(
func_parser_value
"
${
lines
[10]
}
"
)
...
@@ -274,9 +274,9 @@ else
...
@@ -274,9 +274,9 @@ else
fi
fi
# 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
if
[
${
trainer
}
=
${
pact_key
}
]
||
[
${
trainer
}
=
${
fpgm_key
}
]
;
then
#
if [ ${trainer} = ${pact_key} ] || [ ${trainer} = ${fpgm_key} ]; then
set_pretrain
=
"
${
load_norm_train_model
}
"
#
set_pretrain="${load_norm_train_model}"
fi
#
fi
set_save_model
=
$(
func_set_params
"
${
save_model_key
}
"
"
${
save_log
}
"
)
set_save_model
=
$(
func_set_params
"
${
save_model_key
}
"
"
${
save_log
}
"
)
if
[
${#
gpu
}
-le
2
]
;
then
# train with cpu or single gpu
if
[
${#
gpu
}
-le
2
]
;
then
# train with cpu or single gpu
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录