PokemonRedExperiments
PokemonRedExperiments copied to clipboard
FileNotFoundError even though I have the ROM saved in the specified path.
I'm getting this error:
Traceback (most recent call last): File "/Users/fabriziomendez/Documents/AI and ML/PokemonRedExperiments/baselines/run_pretrained_interactive.py", line 42, in <module> env = make_env(0, env_config)() #SubprocVecEnv([make_env(i, env_config) for i in range(num_cpu)]) File "/Users/fabriziomendez/Documents/AI and ML/PokemonRedExperiments/baselines/run_pretrained_interactive.py", line 21, in _init env = RedGymEnv(env_conf) File "/Users/fabriziomendez/Documents/AI and ML/PokemonRedExperiments/baselines/red_gym_env.py", line 92, in __init__ self.pyboy = PyBoy( File "/Users/fabriziomendez/Library/Python/3.10/lib/python/site-packages/pyboy/pyboy.py", line 79, in __init__ raise FileNotFoundError(f"ROM file {gamerom_file} was not found!") FileNotFoundError: ROM file ../PokemonRed.gb was not found!
However, you may see that I have the PokemonRed.gb file where its supposed to be:
Any tips on how to solve this issue?