-
Notifications
You must be signed in to change notification settings - Fork 728
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
Projection Network for more than 1 action with differing action spaces #694
Comments
Have you tried instead having a nested action space? In which each action can have different number of actions? |
No, I don't think I have tried that. I assume you are referring to something like a |
Yeah you can use |
my current workflow was to generate a spec from a I can see why something like a nested action space would be useful. I also just tried from a i'll add a function to check for iterable and extract the relevant information. let me make the changes and, if its okay, I will raise a draft PR |
hello, not sure if it was missed, but the PR for this issue is up. Could I request for a review please? |
Following the discussion from #37, I developed a
MultiCategoricalProjectionNetwork
that splits logits and creates the respectiveCategorical
distribution. I tried to adhere to the same pattern as far as I could; It can be found here: https://gist.github.com/sidney-tio/66abada949f1b629dd9ee28777d402d5If the team would like, I could raise a PR based on the gist I developed. From what I see, these are the to-dos to make it PR-worthy:
The text was updated successfully, but these errors were encountered: