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
03fe093e
Commit
03fe093e
authored
Jan 27, 2022
by
LDOUBLEV
Browse files
delete debug code
parent
711acce3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
test_tipc/benchmark_train.sh
test_tipc/benchmark_train.sh
+0
-6
No files found.
test_tipc/benchmark_train.sh
View file @
03fe093e
...
@@ -61,10 +61,6 @@ params=$3
...
@@ -61,10 +61,6 @@ params=$3
# bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2.0/train_benchmark.txt benchmark_train dynamic_bs8_null_SingleP_DP_N1C1
# bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2.0/train_benchmark.txt benchmark_train dynamic_bs8_null_SingleP_DP_N1C1
IFS
=
"
\n
"
IFS
=
"
\n
"
# FILENAME="test_tipc/configs/det_mv3_db_v2.0/train_benchmark.txt"
# MODE="benchmark_train"
# params="dynamic_bs8_fp32_SingleP_DP_N1C4"
# parser params from input: modeltype_bs${bs_item}_${fp_item}_${run_process_type}_${run_mode}_${device_num}
# parser params from input: modeltype_bs${bs_item}_${fp_item}_${run_process_type}_${run_mode}_${device_num}
IFS
=
"_"
IFS
=
"_"
params_list
=(
${
params
}
)
params_list
=(
${
params
}
)
...
@@ -120,7 +116,6 @@ IFS=";"
...
@@ -120,7 +116,6 @@ IFS=";"
flags_list
=(
${
flags_value
}
)
flags_list
=(
${
flags_value
}
)
for
_flag
in
${
flags_list
[*]
}
;
do
for
_flag
in
${
flags_list
[*]
}
;
do
cmd
=
"export
${
_flag
}
"
cmd
=
"export
${
_flag
}
"
echo
$cmd
eval
$cmd
eval
$cmd
done
done
...
@@ -149,7 +144,6 @@ if [ ${#gpu_id} -le 1 ];then
...
@@ -149,7 +144,6 @@ if [ ${#gpu_id} -le 1 ];then
eval
$cmd
eval
$cmd
eval
"cat
${
log_path
}
/
${
log_name
}
"
eval
"cat
${
log_path
}
/
${
log_name
}
"
# echo "debug"
# parser log
# parser log
_model_name
=
"
${
model_name
}
_bs
${
batch_size
}
_
${
precision
}
_
${
run_process_type
}
_
${
run_mode
}
"
_model_name
=
"
${
model_name
}
_bs
${
batch_size
}
_
${
precision
}
_
${
run_process_type
}
_
${
run_mode
}
"
cmd
=
"python3.7 analysis.py --filename
${
log_path
}
/
${
log_name
}
\
cmd
=
"python3.7 analysis.py --filename
${
log_path
}
/
${
log_name
}
\
...
...
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