9b68103b737ac46bc201dfb3121cfa5df2127e53,baselines/common/atari_wrappers.py,WarpFrame,__init__,#WarpFrame#Any#Any#Any#Any#,134
Before Change
self.height = height
self.grayscale = grayscale
if self.grayscale:
self.observation_space = spaces.Box(low=0, high=255,
shape=(self.height, self.width, 1), dtype=np.uint8)
else:
self.observation_space = spaces.Box(low=0, high=255,
shape=(self.height, self.width, 3), dtype=np.uint8)
After Change
def reset(self, **kwargs):
Do no-op action for a number of steps in [1, noop_max].
self.env.reset(**kwargs)
if self.overri de_num_noops is not None:
noops = self.override_num_noops
else:
noops = self.unwrapped.np_random.randint(1, self.noop_max + 1) //pylint: disable=E1101
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: openai/baselines
Commit Name: 9b68103b737ac46bc201dfb3121cfa5df2127e53
Time: 2019-05-08
Author: peterzhokhoff@gmail.com
File Name: baselines/common/atari_wrappers.py
Class Name: WarpFrame
Method Name: __init__
Project Name: openai/baselines
Commit Name: b875fb7b5e4feb85b9f1f1bf4e78f64c75595664
Time: 2019-02-27
Author: peterzhokhoff@gmail.com
File Name: baselines/common/tests/envs/mnist_env.py
Class Name: MnistEnv
Method Name: __init__
Project Name: Shmuma/ptan
Commit Name: 54a40a9aa9482f5ac35a91335c1b24a4dd5f40d5
Time: 2017-10-22
Author: max.lapan@gmail.com
File Name: ptan/common/wrappers.py
Class Name: FrameBuffer
Method Name: __init__