You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/zjt/exp/PyTorch-RL/examples/ppo_gym.py", line 70, in
env.seed(args.seed)
File "/home/zjt/anaconda3/envs/mujoco/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
File "/home/zjt/anaconda3/envs/mujoco/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
File "/home/zjt/anaconda3/envs/mujoco/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
AttributeError: 'HopperEnv' object has no attribute 'seed'
When "python examples/ppo_gym.py --env-name Hopper-v2", the program encountered an error with env.seed(args.seed), and even after commenting out this line, it ran into another error related to 'seed': AttributeError: 'numpy.random._generator.Generator' object has no attribute 'seed'.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/zjt/exp/PyTorch-RL/examples/ppo_gym.py", line 70, in
env.seed(args.seed)
File "/home/zjt/anaconda3/envs/mujoco/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
File "/home/zjt/anaconda3/envs/mujoco/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
File "/home/zjt/anaconda3/envs/mujoco/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
AttributeError: 'HopperEnv' object has no attribute 'seed'
When "python examples/ppo_gym.py --env-name Hopper-v2", the program encountered an error with env.seed(args.seed), and even after commenting out this line, it ran into another error related to 'seed': AttributeError: 'numpy.random._generator.Generator' object has no attribute 'seed'.
The text was updated successfully, but these errors were encountered: