未验证 提交 a12732e6 编写于 作者: G Guanghua Yu 提交者: GitHub

delete useless print logs (#7167)

上级 38bdf650
...@@ -460,7 +460,6 @@ class Trainer(object): ...@@ -460,7 +460,6 @@ class Trainer(object):
self.loader.dataset.set_epoch(epoch_id) self.loader.dataset.set_epoch(epoch_id)
model.train() model.train()
iter_tic = time.time() iter_tic = time.time()
print("loader len:", len(self.loader))
for step_id, data in enumerate(self.loader): for step_id, data in enumerate(self.loader):
self.status['data_time'].update(time.time() - iter_tic) self.status['data_time'].update(time.time() - iter_tic)
self.status['step_id'] = step_id self.status['step_id'] = step_id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册