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
e03e52a2
"vscode:/vscode.git/clone" did not exist on "2e2684f014a62bdb690e6b439e946068eb304fb6"
Unverified
Commit
e03e52a2
authored
May 01, 2022
by
jaycecd
Committed by
GitHub
May 01, 2022
Browse files
bugfix: unable to save Korean to the specified file: system_results.txt (#5855)
parent
6c68808a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer/predict_system.py
tools/infer/predict_system.py
+1
-1
No files found.
tools/infer/predict_system.py
View file @
e03e52a2
...
...
@@ -195,7 +195,7 @@ def main(args):
text_sys
.
text_detector
.
autolog
.
report
()
text_sys
.
text_recognizer
.
autolog
.
report
()
with
open
(
os
.
path
.
join
(
draw_img_save_dir
,
"system_results.txt"
),
'w'
)
as
f
:
with
open
(
os
.
path
.
join
(
draw_img_save_dir
,
"system_results.txt"
),
'w'
,
encoding
=
'utf-8'
)
as
f
:
f
.
writelines
(
save_results
)
...
...
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