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
8a11d97d
Commit
8a11d97d
authored
Jul 23, 2020
by
LDOUBLEV
Browse files
typo
parent
a43c0b32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
deploy/lite/readme_en.md
deploy/lite/readme_en.md
+1
-1
ppocr/modeling/backbones/rec_mobilenet_v3.py
ppocr/modeling/backbones/rec_mobilenet_v3.py
+1
-1
No files found.
deploy/lite/readme_en.md
View file @
8a11d97d
...
@@ -155,7 +155,7 @@ demo/cxx/ocr/
...
@@ -155,7 +155,7 @@ demo/cxx/ocr/
|-- debug/
|-- debug/
| |--ch_det_mv3_db_opt.nb Detection model
| |--ch_det_mv3_db_opt.nb Detection model
| |--ch_rec_mv3_crnn_opt.nb Recognition model
| |--ch_rec_mv3_crnn_opt.nb Recognition model
| |--11.jpg
i
mage for OCR
| |--11.jpg
I
mage for OCR
| |--ppocr_keys_v1.txt Dictionary file
| |--ppocr_keys_v1.txt Dictionary file
| |--libpaddle_light_api_shared.so C++ .so file
| |--libpaddle_light_api_shared.so C++ .so file
| |--config.txt Config file
| |--config.txt Config file
...
...
ppocr/modeling/backbones/rec_mobilenet_v3.py
View file @
8a11d97d
...
@@ -78,7 +78,7 @@ class MobileNetV3():
...
@@ -78,7 +78,7 @@ class MobileNetV3():
supported_scale
=
[
0.35
,
0.5
,
0.75
,
1.0
,
1.25
]
supported_scale
=
[
0.35
,
0.5
,
0.75
,
1.0
,
1.25
]
assert
self
.
scale
in
supported_scale
,
\
assert
self
.
scale
in
supported_scale
,
\
"supported scale are {} but input scale is {}"
.
format
(
supported_scale
,
self
.
scale
)
"supported scale
s
are {} but input scale is {}"
.
format
(
supported_scale
,
self
.
scale
)
def
__call__
(
self
,
input
):
def
__call__
(
self
,
input
):
scale
=
self
.
scale
scale
=
self
.
scale
...
...
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