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
59671466
Commit
59671466
authored
Jun 07, 2021
by
WenmuZhou
Browse files
opt output
parent
864af3db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppstructure/predict_system.py
ppstructure/predict_system.py
+1
-1
No files found.
ppstructure/predict_system.py
View file @
59671466
...
...
@@ -78,7 +78,7 @@ def save_res(res, save_folder, img_name):
pass
else
:
with
open
(
os
.
path
.
join
(
excel_save_folder
,
'res.txt'
),
'a'
,
encoding
=
'utf8'
)
as
f
:
for
box
,
rec_res
in
zip
(
*
region
[
'res'
]):
for
box
,
rec_res
in
zip
(
region
[
'res'
][
0
],
region
[
'res'
]
[
1
]
):
f
.
write
(
'{}
\t
{}
\n
'
.
format
(
np
.
array
(
box
).
reshape
(
-
1
).
tolist
(),
rec_res
))
...
...
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