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
a572737f
Unverified
Commit
a572737f
authored
Jan 25, 2022
by
ioracion
Committed by
GitHub
Jan 25, 2022
Browse files
Update infer_cls.py
parent
59d50c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/infer_cls.py
tools/infer_cls.py
+2
-2
No files found.
tools/infer_cls.py
View file @
a572737f
...
...
@@ -73,8 +73,8 @@ def main():
images
=
paddle
.
to_tensor
(
images
)
preds
=
model
(
images
)
post_result
=
post_process_class
(
preds
)
for
rec_re
u
slt
in
post_result
:
logger
.
info
(
'
\t
result: {}'
.
format
(
rec_re
u
slt
))
for
rec_res
u
lt
in
post_result
:
logger
.
info
(
'
\t
result: {}'
.
format
(
rec_res
u
lt
))
logger
.
info
(
"success!"
)
...
...
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