4588ac6d2704f69dd9f527ae8145cd820c44667d,enjoy.py,,,#,13
Before Change
env = make_env(args.env_name, args.seed, 0, None, args.add_timestep)
env = DummyVecEnv([env])
actor_critic, ob_rms = \
torch.load(os.path.join(args.load_dir, args.env_name + ".pt"))
After Change
break
elif hasattr(tmp_env, "venv"):
tmp_env = tmp_env.venv
elif hasattr(tmp_env, "env"):
tmp_env = tmp_env.env
else:
break
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: 4588ac6d2704f69dd9f527ae8145cd820c44667d
Time: 2018-09-04
Author: ikostrikov@gmail.com
File Name: enjoy.py
Class Name:
Method Name:
Project Name: nilearn/nilearn
Commit Name: a8320c343487d49e0571e3dbcda6baab6d8cdb4c
Time: 2021-01-25
Author: ju.huntenburg@gmail.com
File Name: nilearn/surface/surface.py
Class Name:
Method Name: load_surf_mesh
Project Name: luispedro/mahotas
Commit Name: b2b1bb32d5c0eded38f3ae50585275c77cb3fcce
Time: 2015-01-23
Author: luis@luispedro.org
File Name: mahotas/tests/test_watershed.py
Class Name:
Method Name: test_watershed