Skip to content

fix mobilenet model time print - #4867

Merged
luotao1 merged 1 commit into
PaddlePaddle:developfrom
luotao1:mobilenet_benchmark
Sep 22, 2020
Merged

luotao1 merged 1 commit into
PaddlePaddle:developfrom
luotao1:mobilenet_benchmark

Conversation

@luotao1

@luotao1 luotao1 commented Sep 22, 2020

Copy link
Copy Markdown
Collaborator

根据近期共识的,新的性能统计规范修改了mobilenet model:

  1. batch_time = reader time + exe.run time
  2. 求log_interval步的平均时间

本模型有四个时间,batch_cost,net_time,backward_time,reader_time,这四个时间的计算都是正确的,只是没有取平均。因此,本PR对这四个时间再求log_interval步的平均

@wanghuancoder wanghuancoder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1
luotao1 merged commit e07327e into PaddlePaddle:develop Sep 22, 2020
@luotao1
luotao1 deleted the mobilenet_benchmark branch September 22, 2020 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants