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

Allow custom distributions in policy gradients #38

Merged
merged 1 commit into from
Jul 18, 2017
Merged

Allow custom distributions in policy gradients #38

merged 1 commit into from
Jul 18, 2017

Conversation

befelix
Copy link
Contributor

@befelix befelix commented Jul 17, 2017

Not sure if this is consistent with other parts of the codebase, but this is how I currently provide custom action distributions for policy gradients:

actions = dict(continuous=True, distribution=Gaussian())

where Gaussian() can be replaced by any instance of Distribution.

@AlexKuhnle
Copy link
Member

Thanks @befelix for the PR! I added it and will make it consistent to the codebase.

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

Successfully merging this pull request may close these issues.

None yet

3 participants