{"action":"created","issue":{"url":"https://api.github.com/repos/openai/gym/issues/921","repository_url":"https://api.github.com/repos/openai/gym","labels_url":"https://api.github.com/repos/openai/gym/issues/921/labels{/name}","comments_url":"https://api.github.com/repos/openai/gym/issues/921/comments","events_url":"https://api.github.com/repos/openai/gym/issues/921/events","html_url":"https://github.com/openai/gym/issues/921","id":301829474,"node_id":"MDU6SXNzdWUzMDE4Mjk0NzQ=","number":921,"title":"number of actions of gym.MultiDiscrete","user":{"login":"nerzadler","id":12514349,"node_id":"MDQ6VXNlcjEyNTE0MzQ5","avatar_url":"https://avatars1.githubusercontent.com/u/12514349?v=4","gravatar_id":"","url":"https://api.github.com/users/nerzadler","html_url":"https://github.com/nerzadler","followers_url":"https://api.github.com/users/nerzadler/followers","following_url":"https://api.github.com/users/nerzadler/following{/other_user}","gists_url":"https://api.github.com/users/nerzadler/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzadler/subscriptions","organizations_url":"https://api.github.com/users/nerzadler/orgs","repos_url":"https://api.github.com/users/nerzadler/repos","events_url":"https://api.github.com/users/nerzadler/events{/privacy}","received_events_url":"https://api.github.com/users/nerzadler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T16:42:04Z","updated_at":"2018-08-09T01:55:40Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nIt would be good to be able to get the total number of actions that can be performed in a gym.MultiDiscrete space, and also a mapping between an action index (between 0 and num_actions) and the tuple version of this action in the MultiDiscrete space.\r\nI needed that for my own environment, and I made it but the solution is not the nicest way to do it. The best way would be to update the gym.Space class with a property num_actions returning this number and also a property actions_mapping returning the mapping. "},"comment":{"url":"https://api.github.com/repos/openai/gym/issues/comments/411612024","html_url":"https://github.com/openai/gym/issues/921#issuecomment-411612024","issue_url":"https://api.github.com/repos/openai/gym/issues/921","id":411612024,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTYxMjAyNA==","user":{"login":"AvisekNaug","id":21328222,"node_id":"MDQ6VXNlcjIxMzI4MjIy","avatar_url":"https://avatars1.githubusercontent.com/u/21328222?v=4","gravatar_id":"","url":"https://api.github.com/users/AvisekNaug","html_url":"https://github.com/AvisekNaug","followers_url":"https://api.github.com/users/AvisekNaug/followers","following_url":"https://api.github.com/users/AvisekNaug/following{/other_user}","gists_url":"https://api.github.com/users/AvisekNaug/gists{/gist_id}","starred_url":"https://api.github.com/users/AvisekNaug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvisekNaug/subscriptions","organizations_url":"https://api.github.com/users/AvisekNaug/orgs","repos_url":"https://api.github.com/users/AvisekNaug/repos","events_url":"https://api.github.com/users/AvisekNaug/events{/privacy}","received_events_url":"https://api.github.com/users/AvisekNaug/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T01:55:40Z","updated_at":"2018-08-09T01:55:40Z","author_association":"NONE","body":"@matthiasplappert Is there any fix for this problem yet?"}}
{"actor":{"display_login":"AvisekNaug"}}