[tab] /home/mihir.mahajan/logs/generate/doom/generate_doom_1m_60x80_32315.log (log)
/var/spool/slurm/job32315/slurm_script: line 12: .venv/bin/activate: No such file or directory
/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/gymnasium/envs/registration.py:596: UserWarning: WARN: plugin: shimmy.registration:register_gymnasium_envs raised Traceback (most recent call last):
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/gymnasium/envs/registration.py", line 594, in load_plugin_envs
    fn()
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/shimmy/registration.py", line 304, in register_gymnasium_envs
    _register_atari_envs()
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/shimmy/registration.py", line 205, in _register_atari_envs
    import ale_py
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/ale_py/__init__.py", line 66, in <module>
    register_v0_v4_envs()
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/ale_py/registration.py", line 176, in register_v0_v4_envs
    _register_rom_configs(legacy_games, obs_types, versions)
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/ale_py/registration.py", line 62, in _register_rom_configs
    gymnasium.register(
AttributeError: partially initialized module 'gymnasium' has no attribute 'register' (most likely due to a circular import)

  logger.warn(f"plugin: {plugin.value} raised {traceback.format_exc()}")
2025-10-20 09:47:00.446 | INFO     | __main__:<module>:58 - Using device: cuda
/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/vec_env/patch_gym.py:49: UserWarning: You provided an OpenAI Gym environment. We strongly recommend transitioning to Gymnasium environments. Stable-Baselines3 is automatically wrapping your environments in a compatibility layer, which could potentially cause issues.
  warnings.warn(
Using device: cuda
Built action space of size 18 from buttons [<Button.ATTACK: 0> <Button.MOVE_FORWARD: 13> <Button.MOVE_LEFT: 11>
 <Button.MOVE_RIGHT: 10> <Button.TURN_RIGHT: 14> <Button.TURN_LEFT: 15>]
Traceback (most recent call last):
  File "/fast/home/mihir.mahajan/Projects/jasmine_runner_1/data/jasmine_data/ViZDoomPPO/load_model_generate_dataset.py", line 315, in <module>
    main()
  File "/fast/home/mihir.mahajan/Projects/jasmine_runner_1/data/jasmine_data/ViZDoomPPO/load_model_generate_dataset.py", line 261, in main
    agent = envs.load_model(
  File "/fast/home/mihir.mahajan/Projects/jasmine_runner_1/data/jasmine_data/ViZDoomPPO/common/envs.py", line 324, in load_model
    agent = ppo.PPO.load(load_path, env=env)
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/base_class.py", line 680, in load
    data, params, pytorch_variables = load_from_zip_file(
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/save_util.py", line 403, in load_from_zip_file
    file = open_path(load_path, "r", verbose=verbose, suffix="zip")
  File "/home/mihir.mahajan/.local/share/uv/python/cpython-3.10.18-linux-x86_64-gnu/lib/python3.10/functools.py", line 889, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/save_util.py", line 240, in open_path_str
    return open_path_pathlib(pathlib.Path(path), mode, verbose, suffix)
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/save_util.py", line 291, in open_path_pathlib
    return open_path_pathlib(path, mode, verbose, suffix)
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/save_util.py", line 272, in open_path_pathlib
    raise error
  File "/fast/home/mihir.mahajan/Projects/jasmine/data/.venv/lib/python3.10/site-packages/stable_baselines3/common/save_util.py", line 264, in open_path_pathlib
    return open_path(path.open("rb"), mode, verbose, suffix)
  File "/home/mihir.mahajan/.local/share/uv/python/cpython-3.10.18-linux-x86_64-gnu/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/home/mihir.mahajan/Projects/jasmine/data/jasmine_data/ViZDoomPPO/logs/models/deathmatch_simple_bak/best_model.zip.zip'