Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration of custom environment #201

Open
BonnenuIt opened this issue Nov 20, 2023 · 2 comments
Open

Configuration of custom environment #201

BonnenuIt opened this issue Nov 20, 2023 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@BonnenuIt
Copy link

BonnenuIt commented Nov 20, 2023

Hi! When I customize my environment in the MARLlib, I find it difficult to understand the concepts in the env_config file, e.g. mask_flag, global_state_flag, opp_action_in_cc and agent_level_batch_update, and how they work.

It is better to provide some information about how to set the env config.

@Theohhhu
Copy link
Collaborator

Theohhhu commented Dec 3, 2023

Hi. Sorry for the confusion. The mask_flag indicates whether there is a mask available for the action. The global_state_flag is used to indicate whether the natural state is provided for use, such as in SMAC, compared to cases where we need to produce it ourselves, as in MPE. opp_action_in_cc is used to include the actions of other agents in the centralized value function, such as the critic of MAPPO. agent_level_batch_update is a switch that toggles between batch-based RL updates or minibatch-based RL updates.

@Theohhhu Theohhhu self-assigned this Dec 3, 2023
@Theohhhu Theohhhu added the help wanted Extra attention is needed label Dec 3, 2023
@HawkQ
Copy link

HawkQ commented Dec 11, 2023

Same question here, I want to use my customized env, pure handmade, wish to find some more examples or tutorials, THANKS!

遇到了类似的问题,我想使用我自定义的环境,但add_new_env.py仍不能解答全部疑惑,希望可以在文档中加入更多普适性示例或教程,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants