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
3ba4d543
Commit
3ba4d543
authored
Jun 17, 2021
by
LDOUBLEV
Browse files
python3.7 to
parent
e4a51f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/infer.sh
test/infer.sh
+1
-1
test/test.sh
test/test.sh
+1
-1
No files found.
test/infer.sh
View file @
3ba4d543
...
...
@@ -34,7 +34,7 @@ ${python} -m pip install pynvml;
${
python
}
-m
pip
install
psutil
;
${
python
}
-m
pip
install
GPUtil
;
paddle_info
=
"
$(
python
3.7
-c
"import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')"
)
"
paddle_info
=
"
$(
${
python
}
-c
"import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')"
)
"
echo
-e
"
\0
33[33m
$paddle_info
\0
33[0m"
|
tee
-a
${
status_log
}
cpu_model
=
`
cat
/proc/cpuinfo |
grep
"model name"
|
awk
-F
':'
'{print $2}'
|
sort
|
uniq
`
echo
-e
"
\0
33[33m cpu_info:
$cpu_model
\0
33[0m"
|
tee
-a
${
status_log
}
...
...
test/test.sh
View file @
3ba4d543
...
...
@@ -75,7 +75,7 @@ ${python} -m pip install psutil;
${
python
}
-m
pip
install
GPUtil
;
${
python
}
-m
pip
install
paddlesim
==
2.0.0
paddle_info
=
"
$(
python
3.7
-c
"import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')"
)
"
paddle_info
=
"
$(
${
python
}
-c
"import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')"
)
"
echo
-e
"
\0
33[33m
$paddle_info
\0
33[0m"
|
tee
-a
${
status_log
}
cpu_model
=
`
cat
/proc/cpuinfo |
grep
"model name"
|
awk
-F
':'
'{print $2}'
|
sort
|
uniq
`
echo
-e
"
\0
33[33m cpu_info:
$cpu_model
\0
33[0m"
|
tee
-a
${
status_log
}
...
...
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