starry-sky6688 / MARL-Algorithms

Implementations of IQL, QMIX, VDN, COMA, QTRAN, MAVEN, CommNet, DyMA-CL, and G2ANet on SMAC, the decentralised micromanagement scenario of StarCraft II
1.46k stars 283 forks source link

There is an error in this project about the padding operation #59

Closed MISTCARRYYOU closed 3 years ago

MISTCARRYYOU commented 3 years ago

if an agent don't finish its episode within the episode_limit, there will be no 1. in the terminate array, thus leading the code error.

starry-sky6688 commented 3 years ago

This bug has been fixed, we updated the method of _get_max_episode_len() in agent.py