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
When I run all the control algorithms, there is an issue with the seeds
"Traceback (most recent call last):
File "D:\OneDrive - mail.nwpu.edu.cn\HEVpy\DRL-Base-EMS-main\Continuous Algorithms\ppo.py", line 191, in
test_ppo()
File "D:\OneDrive - mail.nwpu.edu.cn\HEVpy\DRL-Base-EMS-main\Continuous Algorithms\ppo.py", line 115, in test_ppo
train_collector = Collector(
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\data\collector.py", line 80, in init
self.reset(False)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\data\collector.py", line 131, in reset
self.reset_env(gym_reset_kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\data\collector.py", line 147, in reset_env
obs, info = self.env.reset(**gym_reset_kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\env\venvs.py", line 277, in reset
self.workers[i].send(None, **kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\env\worker\dummy.py", line 36, in send
self.result = self.env.reset(**kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\shimmy\openai_gym_compatibility.py", line 106, in reset
return self.gym_env.reset(seed=seed, options=options)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\wrappers\time_limit.py", line 68, in reset
return self.env.reset(**kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\wrappers\order_enforcing.py", line 42, in reset
return self.env.reset(**kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\wrappers\env_checker.py", line 45, in reset
return env_reset_passive_checker(self.env, **kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\utils\passive_env_checker.py", line 192, in env_reset_passive_checker
result = env.reset(**kwargs)
TypeError: reset() got an unexpected keyword argument 'seed'"
The text was updated successfully, but these errors were encountered:
When I run all the control algorithms, there is an issue with the seeds
"Traceback (most recent call last):
File "D:\OneDrive - mail.nwpu.edu.cn\HEVpy\DRL-Base-EMS-main\Continuous Algorithms\ppo.py", line 191, in
test_ppo()
File "D:\OneDrive - mail.nwpu.edu.cn\HEVpy\DRL-Base-EMS-main\Continuous Algorithms\ppo.py", line 115, in test_ppo
train_collector = Collector(
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\data\collector.py", line 80, in init
self.reset(False)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\data\collector.py", line 131, in reset
self.reset_env(gym_reset_kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\data\collector.py", line 147, in reset_env
obs, info = self.env.reset(**gym_reset_kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\env\venvs.py", line 277, in reset
self.workers[i].send(None, **kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\tianshou\env\worker\dummy.py", line 36, in send
self.result = self.env.reset(**kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\shimmy\openai_gym_compatibility.py", line 106, in reset
return self.gym_env.reset(seed=seed, options=options)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\wrappers\time_limit.py", line 68, in reset
return self.env.reset(**kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\wrappers\order_enforcing.py", line 42, in reset
return self.env.reset(**kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\wrappers\env_checker.py", line 45, in reset
return env_reset_passive_checker(self.env, **kwargs)
File "E:\anaconda3\envs\torch2\lib\site-packages\gym\utils\passive_env_checker.py", line 192, in env_reset_passive_checker
result = env.reset(**kwargs)
TypeError: reset() got an unexpected keyword argument 'seed'"
The text was updated successfully, but these errors were encountered: