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
44b42343
Commit
44b42343
authored
May 17, 2022
by
lubin10
Browse files
update tools/export_model.py tools/infer_rec.py
parent
92d002b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tools/export_model.py
tools/export_model.py
+1
-1
tools/infer_rec.py
tools/infer_rec.py
+1
-1
No files found.
tools/export_model.py
View file @
44b42343
...
@@ -17,7 +17,7 @@ import sys
...
@@ -17,7 +17,7 @@ import sys
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
".."
)))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
".."
)))
import
argparse
import
argparse
...
...
tools/infer_rec.py
View file @
44b42343
...
@@ -157,7 +157,7 @@ def main():
...
@@ -157,7 +157,7 @@ def main():
if
info
is
not
None
:
if
info
is
not
None
:
logger
.
info
(
"
\t
result: {}"
.
format
(
info
))
logger
.
info
(
"
\t
result: {}"
.
format
(
info
))
fout
.
write
(
file
+
"
\t
"
+
info
)
fout
.
write
(
file
+
"
\t
"
+
info
+
"
\n
"
)
logger
.
info
(
"success!"
)
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