b891960deb5478e32876c068e3445e1fe4f0a421,tf_agents/agents/dqn/examples/train_eval_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#,64

Before Change


        ckpt_dir=train_dir,
        agent=tf_agent,
        global_step=global_step,
        metrics=tf.contrib.checkpoint.List(train_metrics))
    policy_checkpointer = common_utils.Checkpointer(
        ckpt_dir=os.path.join(train_dir, "policy"),
        policy=tf_agent.policy(),

After Change


        ckpt_dir=train_dir,
        agent=tf_agent,
        global_step=global_step,
        metrics=metric_utils.MetricsGroup(train_metrics, "train_metrics"))
    policy_checkpointer = common_utils.Checkpointer(
        ckpt_dir=os.path.join(train_dir, "policy"),
        policy=tf_agent.policy(),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: tensorflow/agents
Commit Name: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
Author: sguada@google.com
File Name: tf_agents/agents/dqn/examples/train_eval_atari.py
Class Name: TrainEval
Method Name: __init__


Project Name: tensorflow/agents
Commit Name: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
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: b891960deb5478e32876c068e3445e1fe4f0a421
Time: 2019-02-20
Author: sguada@google.com
File Name: tf_agents/agents/ppo/examples/train_eval.py
Class Name:
Method Name: train_eval