mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-08-15 20:17:25 +00:00
Merge branch 'dygraph' into fix_attn_export
This commit is contained in:
commit
c2449bded2
@ -128,7 +128,8 @@ def create_predictor(args, mode, logger):
|
||||
#config.set_mkldnn_op({'conv2d', 'depthwise_conv2d', 'pool2d', 'batch_norm'})
|
||||
args.rec_batch_num = 1
|
||||
|
||||
# config.enable_memory_optim()
|
||||
# enable memory optim
|
||||
config.enable_memory_optim()
|
||||
config.disable_glog_info()
|
||||
|
||||
config.delete_pass("conv_transpose_eltwiseadd_bn_fuse_pass")
|
||||
|
Loading…
x
Reference in New Issue
Block a user