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
31e62cb8
Unverified
Commit
31e62cb8
authored
Aug 31, 2020
by
xiaoting
Committed by
GitHub
Aug 31, 2020
Browse files
Merge pull request #626 from tink2123/format_code
format code
parents
252fbe54
b626aa3e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
588 deletions
+16
-588
ppocr/data/rec/dataset_traversal.py
ppocr/data/rec/dataset_traversal.py
+1
-0
ppocr/modeling/heads/self_attention/model.py
ppocr/modeling/heads/self_attention/model.py
+15
-588
No files found.
ppocr/data/rec/dataset_traversal.py
View file @
31e62cb8
...
...
@@ -257,6 +257,7 @@ class SimpleReader(object):
norm_img
=
process_image_srn
(
img
=
img
,
image_shape
=
self
.
image_shape
,
char_ops
=
self
.
char_ops
,
num_heads
=
self
.
num_heads
,
max_text_length
=
self
.
max_text_length
)
else
:
...
...
ppocr/modeling/heads/self_attention/model.py
View file @
31e62cb8
This diff is collapsed.
Click to expand it.
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