How to calculate agent_obs_shape and global_obs_shape in configuration file of smac env? #584
Answered
by
yifan123
Monarchlee
asked this question in
Q&A
|
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? |
Answered by
yifan123
Feb 17, 2023
Replies: 1 comment 1 reply
|
1 reply
Answer selected by
PaParaZz1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DI-engine/dizoo/smac/envs/smac_env.py
Line 1041 in f1f0b55
DI-engine/dizoo/smac/envs/smac_env.py
Line 1198 in f1f0b55