Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert error #299

Open
linyufeishi opened this issue Dec 31, 2024 · 0 comments
Open

assert error #299

linyufeishi opened this issue Dec 31, 2024 · 0 comments

Comments

@linyufeishi
Copy link

AssertionError
Process ForkServerProcess-9:
Traceback (most recent call last):
File "/root/anaconda3/envs/algorithm_test/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/root/anaconda3/envs/algorithm_test/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/root/anaconda3/envs/algorithm_test/lib/python3.9/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 28, in _worker
env = _patch_env(env_fn_wrapper.var())
File "/mnt/d/RL_learning/pytorch-a2c-ppo-acktr-gail/a2c_ppo_acktr/envs.py", line 47, in _thunk
env = NoopResetEnv(env, noop_max=30)
File "/root/anaconda3/envs/algorithm_test/lib/python3.9/site-packages/stable_baselines3/common/atari_wrappers.py", line 53, in init
super().init(env)
File "/root/anaconda3/envs/algorithm_test/lib/python3.9/site-packages/gymnasium/core.py", line 310, in init
assert isinstance(env, Env)
AssertionError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant