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
17a46421
Commit
17a46421
authored
Nov 26, 2021
by
zhiqiu
Browse files
add no_grad
parent
bccba557
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tools/infer_det.py
tools/infer_det.py
+1
-0
No files found.
tools/infer_det.py
View file @
17a46421
...
...
@@ -53,6 +53,7 @@ def draw_det_res(dt_boxes, config, img, img_name, save_path):
logger
.
info
(
"The detected Image saved in {}"
.
format
(
save_path
))
@
paddle
.
no_grad
()
def
main
():
global_config
=
config
[
'Global'
]
...
...
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