Skip to content

Commit

Permalink
feat: Updated pettingzoo.
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleabTessera committed Apr 19, 2022
1 parent 7b77152 commit ecb90a6
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Example running recurrent MADQN on Atari Pong."""
# You will need to install AutoRom, follow instructions in OPTIONAL_INSTALL.md.

import functools
from datetime import datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
)
flags.DEFINE_string(
"env_name",
"cooperative_pong_v3",
"cooperative_pong_v5",
"Pettingzoo environment name, e.g. pong (str).",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

flags.DEFINE_string(
"env_name",
"multiwalker_v7",
"multiwalker_v8",
"Pettingzoo environment name, e.g. pong (str).",
)
flags.DEFINE_string(
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
] + tf_requirements

pettingzoo_requirements = [
"pettingzoo~=1.13.1",
"pettingzoo~=1.17.0",
"multi_agent_ale_py",
"supersuit==3.3.1",
"supersuit==3.3.4",
"pygame",
"pysc2",
]
Expand Down
4 changes: 2 additions & 2 deletions tests/environment_loops/environment_loop_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
# Real Environments
EnvSpec("pettingzoo.mpe.simple_spread_v2", EnvType.Parallel),
EnvSpec("pettingzoo.mpe.simple_spread_v2", EnvType.Sequential),
EnvSpec("pettingzoo.sisl.multiwalker_v7", EnvType.Parallel),
EnvSpec("pettingzoo.sisl.multiwalker_v7", EnvType.Sequential),
EnvSpec("pettingzoo.sisl.multiwalker_v8", EnvType.Parallel),
EnvSpec("pettingzoo.sisl.multiwalker_v8", EnvType.Sequential),
],
)
class TestEnvironmentLoop:
Expand Down
4 changes: 2 additions & 2 deletions tests/wrappers/wrapper_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
[
EnvSpec("pettingzoo.mpe.simple_spread_v2", EnvType.Parallel),
EnvSpec("pettingzoo.mpe.simple_spread_v2", EnvType.Sequential),
EnvSpec("pettingzoo.sisl.multiwalker_v7", EnvType.Parallel),
EnvSpec("pettingzoo.sisl.multiwalker_v7", EnvType.Sequential),
EnvSpec("pettingzoo.sisl.multiwalker_v8", EnvType.Parallel),
EnvSpec("pettingzoo.sisl.multiwalker_v8", EnvType.Sequential),
EnvSpec("flatland", EnvType.Parallel, EnvSource.Flatland)
if _has_flatland
else None,
Expand Down

0 comments on commit ecb90a6

Please sign in to comment.