mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
fix gap between train_model predict and inference
This commit is contained in:
parent
3ce97f18ec
commit
87f0aeed70
@ -39,10 +39,7 @@ class TextDetector(object):
|
|||||||
self.args = args
|
self.args = args
|
||||||
self.det_algorithm = args.det_algorithm
|
self.det_algorithm = args.det_algorithm
|
||||||
pre_process_list = [{
|
pre_process_list = [{
|
||||||
'DetResizeForTest': {
|
'DetResizeForTest': None
|
||||||
'limit_side_len': args.det_limit_side_len,
|
|
||||||
'limit_type': args.det_limit_type
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
'NormalizeImage': {
|
'NormalizeImage': {
|
||||||
'std': [0.229, 0.224, 0.225],
|
'std': [0.229, 0.224, 0.225],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user