Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
3f215d87
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看板
未验证
提交
3f215d87
编写于
12月 14, 2021
作者:
W
Walter
提交者:
GitHub
12月 14, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1555 from RainFrost1/batch_size
change large model batch_size for tipc
上级
b83568d0
5035240c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
9 addition
and
7 deletion
+9
-7
test_tipc/config/RedNet/RedNet152_train_infer_python.txt
test_tipc/config/RedNet/RedNet152_train_infer_python.txt
+1
-1
test_tipc/config/Twins/alt_gvt_large_train_infer_python.txt
test_tipc/config/Twins/alt_gvt_large_train_infer_python.txt
+1
-1
test_tipc/config/Twins/pcpvt_large_train_infer_python.txt
test_tipc/config/Twins/pcpvt_large_train_infer_python.txt
+1
-1
test_tipc/config/VisionTransformer/ViT_large_patch16_224_train_infer_python.txt
...nTransformer/ViT_large_patch16_224_train_infer_python.txt
+1
-1
test_tipc/config/VisionTransformer/ViT_large_patch16_384_train_infer_python.txt
...nTransformer/ViT_large_patch16_384_train_infer_python.txt
+1
-1
test_tipc/config/VisionTransformer/ViT_large_patch32_384_train_infer_python.txt
...nTransformer/ViT_large_patch32_384_train_infer_python.txt
+1
-1
test_tipc/test_train_inference_python.sh
test_tipc/test_train_inference_python.sh
+3
-1
未找到文件。
test_tipc/config/RedNet/RedNet152_train_infer_python.txt
浏览文件 @
3f215d87
...
@@ -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
...
...
test_tipc/config/Twins/alt_gvt_large_train_infer_python.txt
浏览文件 @
3f215d87
...
@@ -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
...
...
test_tipc/config/Twins/pcpvt_large_train_infer_python.txt
浏览文件 @
3f215d87
...
@@ -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
...
...
test_tipc/config/VisionTransformer/ViT_large_patch16_224_train_infer_python.txt
浏览文件 @
3f215d87
...
@@ -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
...
...
test_tipc/config/VisionTransformer/ViT_large_patch16_384_train_infer_python.txt
浏览文件 @
3f215d87
...
@@ -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
...
...
test_tipc/config/VisionTransformer/ViT_large_patch32_384_train_infer_python.txt
浏览文件 @
3f215d87
...
@@ -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
...
...
test_tipc/test_train_inference_python.sh
浏览文件 @
3f215d87
...
@@ -146,7 +146,6 @@ function func_inference(){
...
@@ -146,7 +146,6 @@ function func_inference(){
last_status
=
${
PIPESTATUS
[0]
}
last_status
=
${
PIPESTATUS
[0]
}
eval
"cat
${
_save_log_path
}
"
eval
"cat
${
_save_log_path
}
"
status_check
$last_status
"
${
command
}
"
"../
${
status_log
}
"
status_check
$last_status
"
${
command
}
"
"../
${
status_log
}
"
done
done
done
done
done
done
...
@@ -289,8 +288,10 @@ else
...
@@ -289,8 +288,10 @@ else
# run train
# run train
eval
"unset CUDA_VISIBLE_DEVICES"
eval
"unset CUDA_VISIBLE_DEVICES"
export
FLAGS_cudnn_deterministic
=
True
export
FLAGS_cudnn_deterministic
=
True
sleep
5
eval
$cmd
eval
$cmd
status_check
$?
"
${
cmd
}
"
"
${
status_log
}
"
status_check
$?
"
${
cmd
}
"
"
${
status_log
}
"
sleep
5
if
[[
$FILENAME
==
*
GeneralRecognition
*
]]
;
then
if
[[
$FILENAME
==
*
GeneralRecognition
*
]]
;
then
set_eval_pretrain
=
$(
func_set_params
"
${
pretrain_model_key
}
"
"
${
save_log
}
/RecModel/
${
train_model_name
}
"
)
set_eval_pretrain
=
$(
func_set_params
"
${
pretrain_model_key
}
"
"
${
save_log
}
/RecModel/
${
train_model_name
}
"
)
...
@@ -307,6 +308,7 @@ else
...
@@ -307,6 +308,7 @@ else
eval_cmd
=
"
${
python
}
${
eval_py
}
${
set_eval_pretrain
}
${
set_use_gpu
}
${
set_eval_params1
}
"
eval_cmd
=
"
${
python
}
${
eval_py
}
${
set_eval_pretrain
}
${
set_use_gpu
}
${
set_eval_params1
}
"
eval
$eval_cmd
eval
$eval_cmd
status_check
$?
"
${
eval_cmd
}
"
"
${
status_log
}
"
status_check
$?
"
${
eval_cmd
}
"
"
${
status_log
}
"
sleep
5
fi
fi
# run export model
# run export model
if
[
${
run_export
}
!=
"null"
]
;
then
if
[
${
run_export
}
!=
"null"
]
;
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录