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
7c39a199
Commit
7c39a199
authored
Jan 27, 2022
by
LDOUBLEV
Browse files
python3.7 to python
parent
85da85c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test_tipc/benchmark_train.sh
test_tipc/benchmark_train.sh
+2
-2
No files found.
test_tipc/benchmark_train.sh
View file @
7c39a199
...
@@ -126,9 +126,9 @@ fi
...
@@ -126,9 +126,9 @@ fi
# set env
# set env
export
model_branch
=
`
git symbolic-ref HEAD 2>/dev/null |
cut
-d
"/"
-f
3
`
export
model_branch
=
`
git symbolic-ref HEAD 2>/dev/null |
cut
-d
"/"
-f
3
`
export
model_commit
=
$(
git log|head
-n1
|awk
'{print $2}'
)
export
model_commit
=
$(
git log|head
-n1
|awk
'{print $2}'
)
export
str_tmp
=
$(
echo
`
pip
3.7
list|grep paddlepaddle-gpu|awk
-F
' '
'{print $2}'
`
)
export
str_tmp
=
$(
echo
`
pip list|grep paddlepaddle-gpu|awk
-F
' '
'{print $2}'
`
)
export
frame_version
=
${
str_tmp
%%.post*
}
export
frame_version
=
${
str_tmp
%%.post*
}
export
frame_commit
=
$(
echo
`
python
3.7
-c
"import paddle;print(paddle.version.commit)"
`
)
export
frame_commit
=
$(
echo
`
python
-c
"import paddle;print(paddle.version.commit)"
`
)
job_bt
=
`
date
'+%Y%m%d%H%M%S'
`
job_bt
=
`
date
'+%Y%m%d%H%M%S'
`
job_et
=
`
date
'+%Y%m%d%H%M%S'
`
job_et
=
`
date
'+%Y%m%d%H%M%S'
`
export
model_run_time
=
$((${
job_et
}
-
${
job_bt
}))
export
model_run_time
=
$((${
job_et
}
-
${
job_bt
}))
...
...
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