Skip to content

Commit

Permalink
stupid typo when choosing the agent net
Browse files Browse the repository at this point in the history
  • Loading branch information
mttga committed Feb 7, 2024
1 parent d413dd3 commit c8f3dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baselines/QLearning/transf_qmix.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def _env_sample_step(env_state, unused):

# INIT NETWORK
# init agent
if env.name=='smax': # smax agent
if 'smax' in env.name.lower(): # smax agent
agent_class = TransformerAgentSmax
n_entities = wrapped_env._env.num_allies+wrapped_env._env.num_enemies # must be explicit for the n_entities if using policy decoupling
init_x = (
Expand Down

0 comments on commit c8f3dbe

Please sign in to comment.