From 51375cdea88224f3d3f7aebac20d7191efafd9ae Mon Sep 17 00:00:00 2001 From: xinpw8 Date: Thu, 28 Mar 2024 07:21:37 +0000 Subject: [PATCH] to pb4 --- pufferlib/environments/pokemon_red/environment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pufferlib/environments/pokemon_red/environment.py b/pufferlib/environments/pokemon_red/environment.py index c82e1ff8..dd73aef7 100755 --- a/pufferlib/environments/pokemon_red/environment.py +++ b/pufferlib/environments/pokemon_red/environment.py @@ -16,7 +16,7 @@ import os # Ensure the directory of the correct environment.py is in sys.path -correct_path = '/bet_adsorption_xinpw8/back2bulba/pokegym/pokegym' +correct_path = '/bet_adsorption_xinpw8/back2bulba2/pokegym/pokegym' if correct_path not in sys.path: sys.path.insert(0, correct_path) @@ -31,7 +31,7 @@ def env_creator(name="pokemon_red"): def make(name, **kwargs,): """Pokemon Red""" env = Environment(kwargs) - env = StreamWrapper(env, stream_metadata={"user": "PUFFERBOX3 |BET|\npokegym\n"}) + env = StreamWrapper(env, stream_metadata={"user": "PUFFERBOX5 |BET|\npokegym\n"}) # Looks like the following will optionally create the object for you # Or use the one you pass it. I'll just construct it here. return pufferlib.emulation.GymnasiumPufferEnv(