fix gap between train_model predict and inference

This commit is contained in:
LDOUBLEV 2021-02-24 15:09:37 +08:00
parent 3ce97f18ec
commit 87f0aeed70
1 changed files with 1 additions and 4 deletions

View File

@ -39,10 +39,7 @@ class TextDetector(object):
self.args = args
self.det_algorithm = args.det_algorithm
pre_process_list = [{
'DetResizeForTest': {
'limit_side_len': args.det_limit_side_len,
'limit_type': args.det_limit_type
}
'DetResizeForTest': None
}, {
'NormalizeImage': {
'std': [0.229, 0.224, 0.225],