Skip to content

Commit 7e00cc0

Browse files
qingqing01wanghaoshuang
authored andcommitted
Fix non-pyreader traning and rm profile.py (PaddlePaddle#2721)
1 parent d2d5ae7 commit 7e00cc0

File tree

2 files changed

+0
-169
lines changed

2 files changed

+0
-169
lines changed

PaddleCV/rcnn/profile.py

Lines changed: 0 additions & 167 deletions
This file was deleted.

PaddleCV/rcnn/train.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ def train_loop():
250250
(gpu_num, total_time / epoch_idx))
251251
print("kpis\ttrain_loss_card%s\t%s" % (gpu_num, loss))
252252

253-
return np.mean(every_pass_loss)
254-
255253
if cfg.use_pyreader:
256254
train_loop_pyreader()
257255
else:

0 commit comments

Comments
 (0)