58a8f6ea64e30ebfc369153fe2e2591f603f369f,tf_agents/agents/td3/examples/train_eval_rnn_dm.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#Any#Any#Any#Any#Any#Any#Any#Any#,65

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


      common_utils.initialize_uninitialized_variables(sess)

      sess.run(init_agent_op)
      sess.run(train_summary_writer.init())
      sess.run(eval_summary_writer.init())
      sess.run(initial_collect_op)

      global_step_val = sess.run(global_step)
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/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/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/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


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/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/dqn/examples/train_eval_rnn_gym.py
Class Name:
Method Name: train_eval