27fe50c80f3022b5e1bc7674b912501c0fd6884c,bindsnet/environment/__init__.py,SpaceInvaders,pre_process,#SpaceInvaders#Any#,103

Before Change


		obs = subsample( gray_scale(obs), 84, 110 )
		obs = obs[26:110, :]
		obs = binary_image(obs)
		obs = np.reshape(obs, (84, 84, 1))
		obs = torch.from_numpy(obs).view(1, -1).float()
		return obs
		
class CartPole:

After Change


			obs (torch.Tensor): Pre-processed observation.
		"""
		obs = subsample( gray_scale(obs), 84, 110 )
		print (obs.shape)
		sys.exit(0)
		obs = obs[26:100, :]
		obs = binary_image(obs)
		//obs = np.reshape(obs, (74, 84, 1))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: BindsNET/bindsnet
Commit Name: 27fe50c80f3022b5e1bc7674b912501c0fd6884c
Time: 2018-04-29
Author: hqkhan@umass.edu
File Name: bindsnet/environment/__init__.py
Class Name: SpaceInvaders
Method Name: pre_process


Project Name: brightmart/text_classification
Commit Name: cfeef8cb854a24371f0ef5d7d9c68f23675c97ee
Time: 2017-07-06
Author: brightmart@hotmail.com
File Name: a2_attention_between_enc_dec.py
Class Name:
Method Name: test


Project Name: pymc-devs/pymc3
Commit Name: e3414292105069318bd44f685eb3d73857aa1897
Time: 2017-02-24
Author: w.j.engels@gmail.com
File Name: pymc3/gp/cov.py
Class Name: Gibbs
Method Name: __call__