mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-02 02:39:16 +00:00
larger dynamic shape
This commit is contained in:
parent
66f6ed64a5
commit
c39274040f
@ -261,7 +261,7 @@ def create_predictor(args, mode, logger):
|
||||
opt_input_shape.update(opt_pact_shape)
|
||||
elif mode == "rec":
|
||||
min_input_shape = {"x": [1, 3, 32, 10]}
|
||||
max_input_shape = {"x": [args.rec_batch_num, 3, 32, 1024]}
|
||||
max_input_shape = {"x": [args.rec_batch_num, 3, 32, 1536]}
|
||||
opt_input_shape = {"x": [args.rec_batch_num, 3, 32, 320]}
|
||||
elif mode == "cls":
|
||||
min_input_shape = {"x": [1, 3, 48, 10]}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user