Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def __init__(self):
- headless = os.environ.get('GYM_NEYBOY_ENV_NON_HEADLESS', None) is None
- self.game = SyncGame.create(headless=headless)
- self.state = self.game.get_state()
- self.viewer = None
- self.observation_space = spaces.Box(low=0, high=255, shape=self.state.snapshot.shape, dtype=np.uint8)
- self.action_space = spaces.Discrete(3)
Add Comment
Please, Sign In to add comment