4586366c1018257dd448d62f1fc7534e3f5a4338,enjoy.py,,,#,10

Before Change


                    help="environment to train on (default: PongNoFrameskip-v4)")
parser.add_argument("--load-dir", default="./trained_models/",
                    help="directory to save agent logs (default: ./trained_models/)")
parser.add_argument("--log-dir", default="/tmp/gym/",
                    help="directory to save agent logs (default: /tmp/gym)")
args = parser.parse_args()

try:
    os.makedirs(args.log_dir)

After Change


        else:
            return obs
    env._obfilt = types.MethodType(_obfilt, env)
    render_func = env.venv.envs[0].render
else:
    render_func = env.envs[0].render
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: 4586366c1018257dd448d62f1fc7534e3f5a4338
Time: 2017-11-23
Author: ikostrikov@gmail.com
File Name: enjoy.py
Class Name:
Method Name:


Project Name: google/language-resources
Commit Name: 0a614a2cefb046a7c6fa62b7f3ab41f7e8f6ae81
Time: 2018-01-10
Author: mjansche@google.com
File Name: mul_034/make_script_syms.py
Class Name:
Method Name: main


Project Name: batra-mlp-lab/visdial-challenge-starter-pytorch
Commit Name: 61421e8d341312e02dff23b46acde4261808dab3
Time: 2018-07-06
Author: karandesai281196@gmail.com
File Name: train.py
Class Name:
Method Name: