Skip to content

fix resnet dygraph model time print - #4868

Merged
luotao1 merged 2 commits into
PaddlePaddle:developfrom
luotao1:resnet_benchmark
Sep 23, 2020
Merged

luotao1 merged 2 commits into
PaddlePaddle:developfrom
luotao1:resnet_benchmark

Conversation

@luotao1

@luotao1 luotao1 commented Sep 22, 2020

Copy link
Copy Markdown
Collaborator

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

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

本模型有四个时间,train_batch_cost,train_reader_cost,这两个时间的计算都是正确的,只是没有取平均。因此,本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

test=develop
@luotao1
luotao1 merged commit 38ada7f into PaddlePaddle:develop Sep 23, 2020
@luotao1
luotao1 deleted the resnet_benchmark branch September 23, 2020 07:51
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