pytorch-PPUU
pytorch-PPUU copied to clipboard
running error of play_maps.py
python play_maps.py -map i80
Traceback (most recent call last):
File "play_maps.py", line 81, in <module>
observation, reward, done, info = env.step(action)
File "/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 37, in step
return self.env.step(action)
File "/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/wrappers/step_api_compatibility.py", line 52, in step
step_returns = self.env.step(action)
File "/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 37, in step
return env_step_passive_checker(self.env, action)
File "/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 269, in env_step_passive_checker
assert isinstance(
AssertionError: The `info` returned by `step()` must be a python dictionary, actual type: <class 'NoneType'>
play_maps.py
has 79
lines.
How is it that you're getting an error at line 81
?
I also got the same problem.
python play_maps.py -map i80
Traceback (most recent call last):
File "play_maps.py", line 73, in <module>
observation, reward, done, info = env.step(numpy.zeros((2,)))
File "/home/workspace/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 37, in step
return self.env.step(action)
File "/home/workspace/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 37, in step
return env_step_passive_checker(self.env, action)
File "/home/workspace/anaconda3/envs/PPUU/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 261, in env_step_passive_checker
assert isinstance(
AssertionError: The `info` returned by `step()` must be a python dictionary, actual type: <class 'NoneType'>