Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
4a179f5f
"driver/src/conv_driver.cpp" did not exist on "e1a67b693efe3b58d3088101d8a8138f05d3c7f5"
Commit
4a179f5f
authored
Jun 08, 2021
by
LDOUBLEV
Browse files
refine status check
parent
58437e64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test/infer.sh
test/infer.sh
+1
-1
test/test.sh
test/test.sh
+2
-2
No files found.
test/infer.sh
View file @
4a179f5f
...
@@ -29,7 +29,7 @@ gpu_precision_list=$(func_parser "${lines[11]}")
...
@@ -29,7 +29,7 @@ gpu_precision_list=$(func_parser "${lines[11]}")
function
status_check
(){
function
status_check
(){
last_status
=
$1
#
上个阶段的退出码
last_status
=
$1
#
the exit code
run_model
=
$2
run_model
=
$2
run_command
=
$3
run_command
=
$3
save_log
=
$4
save_log
=
$4
...
...
test/test.sh
View file @
4a179f5f
...
@@ -57,7 +57,7 @@ gpu_precision_list=$(func_parser "${lines[11]}")
...
@@ -57,7 +57,7 @@ gpu_precision_list=$(func_parser "${lines[11]}")
img_dir
=
"./train_data/icdar2015/text_localization/ch4_test_images/"
img_dir
=
"./train_data/icdar2015/text_localization/ch4_test_images/"
function
status_check
(){
function
status_check
(){
last_status
=
$1
#
上个阶段的退出码
last_status
=
$1
#
the exit code
run_model
=
$2
run_model
=
$2
run_command
=
$3
run_command
=
$3
save_log
=
$4
save_log
=
$4
...
@@ -92,7 +92,7 @@ for train_model in ${train_model_list[*]}; do
...
@@ -92,7 +92,7 @@ for train_model in ${train_model_list[*]}; do
else
else
launch
=
"-m paddle.distributed.launch --log_dir=./debug/ --gpus
${
gpu
}
"
launch
=
"-m paddle.distributed.launch --log_dir=./debug/ --gpus
${
gpu
}
"
fi
fi
# echo "model_name: ${model_name} yml_file: ${yml_file} launch: ${launch} gpu: ${gpu}"
for
auto_cast
in
${
auto_cast_list
[*]
}
;
do
for
auto_cast
in
${
auto_cast_list
[*]
}
;
do
for
slim_trainer
in
${
slim_trainer_list
[*]
}
;
do
for
slim_trainer
in
${
slim_trainer_list
[*]
}
;
do
if
[
${
slim_trainer
}
=
"norm"
]
;
then
if
[
${
slim_trainer
}
=
"norm"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment