diff --git a/doc/paddlehelp.jpg b/doc/paddlehelp.jpg new file mode 100644 index 00000000..2b4aa3c8 Binary files /dev/null and b/doc/paddlehelp.jpg differ diff --git a/tools/infer/utility.py b/tools/infer/utility.py index b3d15f01..2859c97e 100755 --- a/tools/infer/utility.py +++ b/tools/infer/utility.py @@ -88,10 +88,10 @@ def create_predictor(args, mode): if args.use_gpu: config.enable_use_gpu(args.gpu_mem, 0) - config.enable_memory_optim() else: config.disable_gpu() + config.enable_memory_optim() config.disable_glog_info() # use zero copy