From 882a9327aee54da09a6e0265ed8387eed48c63ea Mon Sep 17 00:00:00 2001 From: sneaxiy Date: Wed, 20 Jun 2018 03:03:11 +0000 Subject: [PATCH] Revert "commit" This reverts commit e0f883e66bcde3512b43dc907d04c917f8cd37bf. --- benchmark/fluid/args.pyc | Bin 3164 -> 0 bytes benchmark/fluid/fluid_benchmark.py | 12 ++---------- benchmark/fluid/recordio_converter.pyc | Bin 6172 -> 0 bytes 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 benchmark/fluid/args.pyc delete mode 100644 benchmark/fluid/recordio_converter.pyc diff --git a/benchmark/fluid/args.pyc b/benchmark/fluid/args.pyc deleted file mode 100644 index cac4bec4c1fc1776b3bf13a2cb913f12c81e8f4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3164 zcmbVOX>$}s8179-!V&HpLD~zW?ru0#P|lD9ur!bgQdHrGsm@IAZkxHPyC-oi_=JDP ze_{C({3n!OtcRsG@lvV@8IvQ;*#Lk5vdT* zu$U6Vj(FA)$+SpziDX73vm%)j!x`~xN+i3*Pap%-5sw%4fYK#&UZ&^khkv8|VEotejWzmQJE%oU6>lQR;lg zMo$4GCCfzg3Qt~$?_p&}yzGb5c=gpUO9QHGC&@bLgX!SKltKE*KXhwjsy09?djozygg*!rU0_8YisVA8XdzVekw`uk z$tSF$3t*~^X)gf!A+Q(#7enAu09+1%D*^Cn2z(X*pNGKJ0Js(cUj&|g$)4eQT_iWe z5Gg>wZ-ROf@LR2z8R3E9cN_4eZ0@`PFNN^k76#vPXv9ij#43xuH{nCs3h|;No>RNs zN9jLwCvm-(Rwj{Ik?2%z>O3B0%5J&7n*-MC@jj{_Ju)seOcf#?6(-h>*NGmeD)k%G zQA{<`Y3U@Mz8&dCs4t|g^4GHEj`5?un+H*^x2b$Qik$gT8{%@*?96I%!&1ho%dXpS6O{}|yD~3!WRa(1>8i3U zte3>tce`t$dK-!4;dy`k3E!93pK#bHI0?g&^4@neYJmmD6%vS(T^LeA zlnkxrdV#2RlY9e=j%H%?102;72dwpNZ<6r?wWTA<0heU$sw}e1z#LeD7*+_o)hglG z%K{yx5KYv1?GO2mfVj~8W=|?P&^yqnOOV&|pemtEN167cBH`0NEn<~&#!IK|wzj;R z$8mbu-Gpb$qoP1K@p_@ah3>3Hz%dfhm9e5pC0R^YHZsshB%tpOaKsRFSEj~C+jvQ# zMtC{`H)Qdy#I8}Ba6+0KwZ92jTTbqbblxay?3Ko~3Yz>YH_qdTMy|UOils2Oq!22Z zj;AY+siw7;9^YSSG<$}#;bj6qlG*bK&;Das*&gZu1{#T?p%{NfxRjO}MAM@cdKecE2 H_^!VI>TUvR diff --git a/benchmark/fluid/fluid_benchmark.py b/benchmark/fluid/fluid_benchmark.py index 12edcde14..aa70783ec 100644 --- a/benchmark/fluid/fluid_benchmark.py +++ b/benchmark/fluid/fluid_benchmark.py @@ -156,23 +156,15 @@ def train(avg_loss, infer_prog, optimizer, train_reader, test_reader, batch_acc, start_time = time.time() num_samples = 0 - if arg.profile and pass_id == 0 and batch_id == 5: - profiler.start_profiler("All") - elif args.profile and pass_id == 0 and batch_id == 10: - profiler.stop_profiler("total", "/tmp/profile") - if args.use_reader_op: try: - loss = exe.run(train_prog, - fetch_list=[avg_loss], - use_program_cache=True) + loss = exe.run(train_prog, fetch_list=[avg_loss]) except fluid.core.EnforceNotMet as ex: break else: loss = exe.run(train_prog, feed=feeder.feed(data), - fetch_list=[avg_loss], - use_program_cache=True) + fetch_list=[avg_loss]) iters += 1 batch_id += 1 # FIXME(wuyi): For use_reader_op, if the current diff --git a/benchmark/fluid/recordio_converter.pyc b/benchmark/fluid/recordio_converter.pyc deleted file mode 100644 index 9b603f41c6748bb65da06076d5f69e4754c341c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6172 zcmcgwTXP&&5$@TGw5z-2$QNwvRf1u8K)%Ew5KK^FIoKo!c@$8x*bJkc+10FfXV-H^ z$vW)5L?L!w@H>BiAHWOG{DAxes{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