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
c8cf3123
Commit
c8cf3123
authored
Nov 09, 2021
by
LDOUBLEV
Browse files
fix typo
parent
b1d5e43c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer/utility.py
tools/infer/utility.py
+1
-1
No files found.
tools/infer/utility.py
View file @
c8cf3123
...
@@ -180,7 +180,7 @@ def create_predictor(args, mode, logger):
...
@@ -180,7 +180,7 @@ def create_predictor(args, mode, logger):
gpu_id
=
get_infer_gpuid
()
gpu_id
=
get_infer_gpuid
()
if
gpu_id
is
None
:
if
gpu_id
is
None
:
logger
.
warning
(
logger
.
warning
(
"GPU is not found in current device by nvidia-smi. Please check your device or ignore
d
it if run on jeston."
"GPU is not found in current device by nvidia-smi. Please check your device or ignore it if run on jeston."
)
)
config
.
enable_use_gpu
(
args
.
gpu_mem
,
0
)
config
.
enable_use_gpu
(
args
.
gpu_mem
,
0
)
if
args
.
use_tensorrt
:
if
args
.
use_tensorrt
:
...
...
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