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

How to extract state info #5

Open
Kyle1993 opened this issue Oct 10, 2017 · 2 comments
Open

How to extract state info #5

Kyle1993 opened this issue Oct 10, 2017 · 2 comments

Comments

@Kyle1993
Copy link

Kyle1993 commented Oct 10, 2017

In this paper the author extract the state for each unit as a tensor 72 * 72 * 16, 72*72 represent the map size, each channel in the space describes either the hit points, the damage or the safety attacking range for all the agents on the map, How can I extract this info from self.state?

@GaoFangshu
Copy link

@Kyle1993 Although I am not author of this paper, I guess that map data can be extract from map_data object, and you can get the "agent position / attacking range / damage" from data stream after parse_table function, then build each channel respectively. You can refer another repo of Alibaba, and here is my demo to represent real-time map data and attacking range.

Hope this might be helpful for you 😃

@Kyle1993
Copy link
Author

@GaoFangshu Thank you for your reply, your demo is really cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants