58a8f6ea64e30ebfc369153fe2e2591f603f369f,tf_agents/agents/dqn/examples/train_eval_rnn_gym.py,,train_eval,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,63

Before Change


        start_time = time.time()
        collect_call()
        for _ in range(train_steps_per_iteration):
          loss_info_value, _, global_step_val = train_step_call()
        time_acc += time.time() - start_time

        if global_step_val % log_interval == 0:

After Change


        for _ in range(train_steps_per_iteration):
          loss_info_value = train_step_call()
        time_acc += time.time() - start_time
        global_step_val = global_step_call()

        if global_step_val % log_interval == 0:
          logging.info("step = %d, loss = %f", global_step_val,
                       loss_info_value.loss)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 3

Instances


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/dqn/examples/train_eval_rnn_gym.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/dqn/examples/train_eval_gym.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/dqn/examples/oog_train_eval.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/ddpg/examples/train_eval_mujoco.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/td3/examples/train_eval_rnn_dm.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/sac/examples/train_eval_mujoco.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/td3/examples/train_eval_mujoco.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/reinforce/examples/train_eval_gym.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: 58a8f6ea64e30ebfc369153fe2e2591f603f369f
Time: 2019-03-04
Author: sguada@google.com
File Name: tf_agents/agents/ddpg/examples/train_eval_rnn_dm.py
Class Name:
Method Name: train_eval