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
Using the vectorised envs (concat_vec_envs_v1), with num_cpus >1 causes a redundant printout when calling env.close.
Code:
from pettingzoo.mpe import simple_spread_v3
import supersuit as ss
env = simple_spread_v3.parallel_env()
env = ss.pettingzoo_env_to_vec_env_v1(env)
env = ss.concat_vec_envs_v1(env, 10, num_cpus=10, base_class="gymnasium")
obs, info = env.reset()
env.close()
Output:
XIO: fatal IO error 0 (Success) on X server ":0"
after 89 requests (89 known processed) with 0 events remaining.
XIO: fatal IO error 0 (Success) on X server ":0"
after 89 requests (89 known processed) with 0 events remaining.
XIO: fatal IO error 0 (Success) on X server ":0"
after 89 requests (89 known processed) with 0 events remaining.
XIO: fatal IO error 0 (Success) on X server ":0"
...
Using the vectorised envs (
concat_vec_envs_v1
), with num_cpus >1 causes a redundant printout when calling env.close.Code:
Output:
This isn't really a bug, just removes an annoying print out. @elliottower You also pointed this issue out a while back here - Farama-Foundation/PettingZoo#1017 (comment).
The text was updated successfully, but these errors were encountered: