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
97c0dd07
Commit
97c0dd07
authored
Jan 27, 2022
by
LDOUBLEV
Browse files
add benchamrk root
parent
c8f34df1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test_tipc/benchmark_train.sh
test_tipc/benchmark_train.sh
+3
-3
No files found.
test_tipc/benchmark_train.sh
View file @
97c0dd07
...
...
@@ -159,7 +159,7 @@ if [ ${#gpu_id} -le 1 ];then
# parser log
_model_name
=
"
${
model_name
}
_bs
${
batch_size
}
_
${
precision
}
_
${
run_process_type
}
_
${
run_mode
}
"
cmd
=
"python
3.7
analysis.py --filename
${
log_path
}
/
${
log_name
}
\
cmd
=
"python
${
BENCHMARK_ROOT
}
/scripts/
analysis.py --filename
${
log_path
}
/
${
log_name
}
\
--speed_log_file '
${
speed_log_path
}
/
${
speed_log_name
}
'
\
--model_name
${
_model_name
}
\
--base_batch_size
${
batch_size
}
\
...
...
@@ -173,7 +173,7 @@ if [ ${#gpu_id} -le 1 ];then
--convergence_key
${
convergence_key_value
}
: "
echo
$cmd
eval
$cmd
else
log_path
=
"
$SAVE_LOG
/train_log"
speed_log_path
=
"
$SAVE_LOG
/index"
...
...
@@ -190,7 +190,7 @@ else
# parser log
_model_name
=
"
${
model_name
}
_bs
${
batch_size
}
_
${
precision
}
_
${
run_process_type
}
_
${
run_mode
}
"
cmd
=
"python
3.7
analysis.py --filename
${
log_path
}
/
${
log_name
}
\
cmd
=
"python
${
BENCHMARK_ROOT
}
/scripts/
analysis.py --filename
${
log_path
}
/
${
log_name
}
\
--speed_log_file '
${
speed_log_path
}
/
${
speed_log_name
}
'
\
--model_name
${
_model_name
}
\
--base_batch_size
${
batch_size
}
\
...
...
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