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
02b75a50
"script/compile-rocm3.1.sh" did not exist on "c15ff3c825dd25ddc2f6ee572f867c925a4528bd"
Unverified
Commit
02b75a50
authored
Jul 08, 2021
by
Double_V
Committed by
GitHub
Jul 08, 2021
Browse files
Merge pull request #3293 from PaddlePaddle/LDOUBLEV-patch-1
fix precision
parents
7fd27329
4066478e
Changes
1
Show 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 @
02b75a50
...
...
@@ -164,7 +164,7 @@ def create_predictor(args, mode, logger):
config
.
enable_use_gpu
(
args
.
gpu_mem
,
0
)
if
args
.
use_tensorrt
:
config
.
enable_tensorrt_engine
(
precision_mode
=
inference
.
PrecisionType
.
Float32
,
precision_mode
=
precision
,
max_batch_size
=
args
.
max_batch_size
,
min_subgraph_size
=
args
.
min_subgraph_size
)
# skip the minmum trt subgraph
...
...
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