1dcbf4f64020281cd8a3e43193f44ee5cab3b777,examples/dqn_and_double_dqn.py,,experiment,#Any#,15

Before Change


        qf_criterion=qf_criterion,
        **variant["algo_params"]
    )
    if ptu.gpu_enabled():
        algorithm.cuda()
    algorithm.train()


if __name__ == "__main__":

After Change


        qf_criterion=qf_criterion,
        **variant["algo_params"]
    )
    algorithm.to(ptu.device)
    algorithm.train()


if __name__ == "__main__":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 4

Instances


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/dqn_and_double_dqn.py
Class Name:
Method Name: experiment


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/tdm/ant_position_and_velocity.py
Class Name:
Method Name: experiment


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/td3.py
Class Name:
Method Name: experiment


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/tdm/cheetah.py
Class Name:
Method Name: experiment


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/ddpg.py
Class Name:
Method Name: experiment


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/tdm/ant_position.py
Class Name:
Method Name: experiment


Project Name: vitchyr/rlkit
Commit Name: 1dcbf4f64020281cd8a3e43193f44ee5cab3b777
Time: 2018-10-15
Author: vitchyr@gmail.com
File Name: examples/sac.py
Class Name:
Method Name: experiment