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
49aa7698
"PyTorch/git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "01bc05b7a5f94097c8344254cca5d4d0e5e6def3"
Commit
49aa7698
authored
May 18, 2020
by
LDOUBLEV
Browse files
fix bug of det EvalTestreader
parent
fb362288
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/data/det/dataset_traversal.py
ppocr/data/det/dataset_traversal.py
+1
-1
No files found.
ppocr/data/det/dataset_traversal.py
View file @
49aa7698
...
@@ -82,7 +82,7 @@ class EvalTestReader(object):
...
@@ -82,7 +82,7 @@ class EvalTestReader(object):
for
line
in
lines
:
for
line
in
lines
:
img_name
=
line
.
decode
().
strip
(
"
\n
"
).
split
(
"
\t
"
)[
0
]
img_name
=
line
.
decode
().
strip
(
"
\n
"
).
split
(
"
\t
"
)[
0
]
img_path
=
os
.
path
.
join
(
img_set_dir
,
img_name
)
img_path
=
os
.
path
.
join
(
img_set_dir
,
img_name
)
img_list
.
append
(
[
img_path
]
)
img_list
.
append
(
img_path
)
else
:
else
:
img_path
=
self
.
params
[
'single_img_path'
]
img_path
=
self
.
params
[
'single_img_path'
]
img_list
=
get_image_file_list
(
img_path
)
img_list
=
get_image_file_list
(
img_path
)
...
...
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