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
8f811057
Commit
8f811057
authored
Jun 30, 2021
by
WenmuZhou
Browse files
add detail error to dataset
parent
5e160a5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/data/simple_dataset.py
ppocr/data/simple_dataset.py
+1
-1
No files found.
ppocr/data/simple_dataset.py
View file @
8f811057
...
...
@@ -117,7 +117,7 @@ class SimpleDataSet(Dataset):
data
[
'image'
]
=
img
data
[
'ext_data'
]
=
self
.
get_ext_data
()
outs
=
transform
(
data
,
self
.
ops
)
except
Exception
as
e
:
except
:
error_meg
=
traceback
.
format_exc
()
self
.
logger
.
error
(
"When parsing line {}, error happened with msg: {}"
.
format
(
...
...
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