From b115cb4417d23c8b47d4a2af6daa13045e5ee32e Mon Sep 17 00:00:00 2001 From: dyning Date: Tue, 23 Jun 2020 15:02:13 +0800 Subject: [PATCH] use enable_memory_optim for cpu and gpu, add paddlehelp QRcode --- doc/paddlehelp.jpg | Bin 0 -> 40408 bytes tools/infer/utility.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 doc/paddlehelp.jpg diff --git a/doc/paddlehelp.jpg b/doc/paddlehelp.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2b4aa3c876a78e96a4214f649bfbc7961c81d46f GIT binary patch literal 40408 zcmd?Sdq9kN`v-g{iAbmr)+`|kA<3cbwo6*aaZ1j!Bq5qjsF>ys>y#9d9>=jxQ5Z== zX-X7Du}LSH4iafJQ<|n`=AQTZ-ZRzA)b6AG{oddE$GgwdiY?vu_i!CP*XR0NiabRz z)??O;nKLjQ9SqZf|6z(kY#OH9p#%Cq{L>Nsuh&^muVY6&1AYBYox2%y>(VqN5An(^0RBo?aId!>)!V?fyrR zg!SyKb4%xzuFhbrLr)#uo;r#r7!96NPlx&kQ~jgU0iLmwe&;R*UEvF2dte=Obagv) z)J0DXU+oY79qZUruh*clKX)=-uttBdm&v%@$NubW{!4VS>B85-AvSBb?&)ICyH8)U zenW>@3?E@R-gbiB#7UE)-_E^% z?Aw3f;Gw|dp(nylhX3c(>5G>xU%47_?Rw;$n7gs};_g3q_&DXs)6}$Q&(r_Pev|Vy zH!r`Sq_pfq`NxV+pDRT*wcqN*^^%50^j$+B2`~Ai zz+(EyP5814n>ex~Q)$i%7?uhw<+TD^Z{0Y8*Dy5)Z|D~y*@;&@RbY;G3T$}42nA+7 zUq5HDOFB>ZjmSSt1~SR{wsdmFC30YhbS&|Dt^!N%bX|cxd!tk5Y+A#W{X`S5RbUs- zD6kWTixk+gYYObZCGrL1+ajW7cO+3`i}^b{`ne?W3PMT_2u8@`6qrHT6Ta}60$bZa zV=Azz4`XXs)i&u0jM2+8E6k!Ob3$!UP#wc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A+;1TsK@s<< zXbFh>n+JlfYUW(C9xb)yoO99?`Ma($zG00NZRvd-!Ru@|r1;n$wJv#OF-YQ*@GP$y hvXwzH1z)Utk8eq9xm@<5`K|Mq!fd90^19>a_7_q`JmLTV literal 0 HcmV?d00001 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 -- GitLab