Merge 265cd32bd5
into bb77fcef6f
This commit is contained in:
commit
44b337f3a0
|
@ -275,6 +275,7 @@ def create_predictor(args, mode, logger):
|
|||
min_input_shape = {"x": [1, 3, imgH, 10]}
|
||||
max_input_shape = {"x": [args.rec_batch_num, 3, imgH, 2304]}
|
||||
opt_input_shape = {"x": [args.rec_batch_num, 3, imgH, 320]}
|
||||
config.exp_disable_tensorrt_ops(["transpose2"])
|
||||
elif mode == "cls":
|
||||
min_input_shape = {"x": [1, 3, 48, 10]}
|
||||
max_input_shape = {"x": [args.rec_batch_num, 3, 48, 1024]}
|
||||
|
|
Loading…
Reference in New Issue