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
e0d1779f
Commit
e0d1779f
authored
Jun 09, 2021
by
LDOUBLEV
Browse files
add requirments
parent
f3efa9be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
test/infer.sh
test/infer.sh
+5
-0
test/test.sh
test/test.sh
+5
-0
No files found.
test/infer.sh
View file @
e0d1779f
...
...
@@ -29,6 +29,11 @@ infer_gpu_id=$(func_parser "${lines[12]}")
log_path
=
$(
func_parser
"
${
lines
[13]
}
"
)
status_log
=
"
${
log_path
}
/result.log"
# install requirments
${
python
}
-m
pip
install
pynvml
;
${
python
}
-m
pip
install
psutil
;
${
python
}
-m
pip
install
GPUtil
;
function
status_check
(){
last_status
=
$1
# the exit code
...
...
test/test.sh
View file @
e0d1779f
...
...
@@ -69,6 +69,11 @@ gpu_precision_list=$(func_parser "${lines[11]}")
log_path
=
$(
func_parser
"
${
lines
[13]
}
"
)
status_log
=
"
${
log_path
}
/result.log"
# install requirments
${
python
}
-m
pip
install
pynvml
;
${
python
}
-m
pip
install
psutil
;
${
python
}
-m
pip
install
GPUtil
;
function
status_check
(){
last_status
=
$1
# the exit code
run_model
=
$2
...
...
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