diff --git a/pokemonred_puffer/environment.py b/pokemonred_puffer/environment.py index ac5a305..f896818 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -15,7 +15,6 @@ from pyboy.utils import WindowEvent from skimage.transform import resize -import skimage import pufferlib from pokemonred_puffer.global_map import GLOBAL_MAP_SHAPE, local_to_global @@ -374,8 +373,8 @@ def render(self): game_pixels_render = np.expand_dims(self.screen.ndarray[:, :, 1], axis=-1) if self.reduce_res: - # game_pixels_render = game_pixels_render[::2, ::2, :] - game_pixels_render = skimage.measure.block_reduce(game_pixels_render, (2, 2, 1), np.min) + game_pixels_render = game_pixels_render[::2, ::2, :] + # game_pixels_render = skimage.measure.block_reduce(game_pixels_render, (2, 2, 1), np.min) # place an overlay on top of the screen greying out places we haven't visited # first get our location