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
5ec0d3fa
Commit
5ec0d3fa
authored
Jan 25, 2022
by
LDOUBLEV
Browse files
add status_check
parent
01093d21
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 @
5ec0d3fa
...
...
@@ -124,7 +124,7 @@ if [ ${#gpu_id} -le 1 ];then
eval
$cmd
last_status
=
${
PIPESTATUS
[0]
}
eval
"cat
${
log_path
}
/
${
log_name
}
"
status_check
$last_status
"
${
c
omman
d
}
"
"
${
status_log
}
"
status_check
$last_status
"
${
c
m
d
}
"
"
${
status_log
}
"
# without profile
log_path
=
"
$SAVE_LOG
/train_log"
mkdir
-p
$log_path
...
...
@@ -135,7 +135,7 @@ if [ ${#gpu_id} -le 1 ];then
eval
$cmd
last_status
=
${
PIPESTATUS
[0]
}
eval
"cat
${
log_path
}
/
${
log_name
}
"
status_check
$last_status
"
${
c
omman
d
}
"
"
${
status_log
}
"
status_check
$last_status
"
${
c
m
d
}
"
"
${
status_log
}
"
else
log_path
=
"
$SAVE_LOG
/train_log"
mkdir
-p
$log_path
...
...
@@ -146,7 +146,7 @@ else
eval
$cmd
last_status
=
${
PIPESTATUS
[0]
}
eval
"cat
${
log_path
}
/
${
log_name
}
"
status_check
$last_status
"
${
c
omman
d
}
"
"
${
status_log
}
"
status_check
$last_status
"
${
c
m
d
}
"
"
${
status_log
}
"
fi
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