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

Update dqn to heap initialize state arrays #19

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

Lucky4Luuk
Copy link
Contributor

I ran into stack overflows when requiring a large state, which can be fixed with some Box trickery. This should probably also be done for the actions arrays, but this works for now.

More work should probably be done with this, as well as proper testing, but I figured it was worth making PR to at least bring up this issue while also proposing a simple fix :)

@milanboers milanboers merged commit 3dc9ab5 into milanboers:master Jan 23, 2024
1 check failed
@milanboers
Copy link
Owner

Thank you! Will cut a release!

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.

2 participants