提交 526beac8 编写于 作者: R root

delete profile code

上级 d969d922
......@@ -313,10 +313,6 @@ def train(args):
batch_id = 0
try:
while True:
if pass_id == 0 and batch_id == 5:
profiler.start_profiler("GPU")
elif pass_id == 0 and batch_id == 10:
profiler.stop_profiler("total", "profile")
t1 = time.time()
loss, acc1, acc5, lr = train_exe.run(
fetch_list=train_fetch_list)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册