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

Refactor DQN #16

Merged
merged 9 commits into from
Jun 24, 2024
Merged

Refactor DQN #16

merged 9 commits into from
Jun 24, 2024

Conversation

FangLinHe
Copy link
Owner

@FangLinHe FangLinHe commented Jun 12, 2024

Closes #14

  • Refactored DQN and networks of jax and torch implementations, so it accepts both implementations.
  • Keep only rl_2048/bin/playRL2048_dqn.py and switch implementations by --backend=jax or --backend=torch
  • Part of Test coverage > 90% #15 is resolved: test coverage increased to 77%.

@FangLinHe FangLinHe changed the title Move Batch to common Refactor DQN Jun 24, 2024
@FangLinHe FangLinHe merged commit 4867563 into main Jun 24, 2024
4 checks passed
@FangLinHe FangLinHe deleted the refactor-dqn branch June 24, 2024 07:56
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.

Unify interface of torch / jax DQN implementations
1 participant