typo
This commit is contained in:
parent
a43c0b3240
commit
8a11d97da8
|
@ -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 image for OCR
|
| |--11.jpg Image 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
|
||||||
|
|
|
@ -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 scales are {} but input scale is {}".format(supported_scale, self.scale)
|
||||||
|
|
||||||
def __call__(self, input):
|
def __call__(self, input):
|
||||||
scale = self.scale
|
scale = self.scale
|
||||||
|
|
Loading…
Reference in New Issue