{"action":"closed","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1998","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1998/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1998/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1998/events","html_url":"https://github.com/tensorflow/tensorflow/issues/1998","id":148934441,"number":1998,"title":"wrong step_time calculation in RNN translation","user":{"login":"amirj","id":1645137,"avatar_url":"https://avatars.githubusercontent.com/u/1645137?v=3","gravatar_id":"","url":"https://api.github.com/users/amirj","html_url":"https://github.com/amirj","followers_url":"https://api.github.com/users/amirj/followers","following_url":"https://api.github.com/users/amirj/following{/other_user}","gists_url":"https://api.github.com/users/amirj/gists{/gist_id}","starred_url":"https://api.github.com/users/amirj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirj/subscriptions","organizations_url":"https://api.github.com/users/amirj/orgs","repos_url":"https://api.github.com/users/amirj/repos","events_url":"https://api.github.com/users/amirj/events{/privacy}","received_events_url":"https://api.github.com/users/amirj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-17T09:26:16Z","updated_at":"2016-04-17T09:42:13Z","closed_at":"2016-04-17T09:42:13Z","body":"step_time is the total time for handling a batch of training data. In [translate.py](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/models/rnn/translate/translate.py#L175):\r\n\r\n```\r\n      # Get a batch and make a step.\r\n      start_time = time.time()\r\n      encoder_inputs, decoder_inputs, target_weights = model.get_batch(train_set, bucket_id)\r\n      _, step_loss, _ = model.step(sess, encoder_inputs, decoder_inputs,\r\n                                   target_weights, bucket_id, False)\r\n      step_time += (time.time() - start_time) / FLAGS.steps_per_checkpoint\r\n\r\n```\r\nI just interested to know why the consuming time is divided to FLAGS.steps_per_checkpoints? @lukaszkaiser "}}