How to calculate agent_obs_shape and global_obs_shape in configuration file of smac env? #584
-
I am confused by the calculation of agent_obs_shape and global_obs_shape. The docs just give me the value without any process about these two variables but I want to train agents on a self-made map. The official code is below.
Could anyone tell me how to calculate agent_obs_shape and global_obs_shape? Also, is it related to the type of entity or the kind of algorithm? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
DI-engine/dizoo/smac/envs/smac_env.py
Line 1041 in f1f0b55
DI-engine/dizoo/smac/envs/smac_env.py
Line 1198 in f1f0b55