Skip to content

Commit 037d99c

Browse files
committed
Merge branch 'master' of https://github.com/YangRui2015/2048_env
2 parents bf6ce01 + de302a8 commit 037d99c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
# 2048 Environment for Reinforcement Learning
1+
# 2048 Environment for Reinforcement Learning and DQN Algorithm implementation
22

33
Thanks to the author of gym-2048 https://github.com/rgal/gym-2048. The code is easy to understand and runs efficiently. I just made some little changes to make it a better RL environment.
4+
And I implemented dqn with many tricks using pytorch:
5+
- [x] Randomly fill buffer first;
6+
- [x] Soft target replacing;
7+
- [x] Epsilon decay;
8+
- [x] Clip gradient norm;
9+
- [x] Double DQN;
10+
- [x] Priority Experience Replay;
11+
412

513

614
## Performance of environment
@@ -24,6 +32,10 @@ average steps:141.288;
2432
some example:
2533
![image](https://github.com/YangRui2015/2048_env/blob/master/pictures/example.png)
2634

35+
## Performance of Priority DQN
36+
Training for 45k episodes and max eval mean score is 7700(eval for 50 episodes).
37+
38+
2739

2840
## Update
2941
1. add max steps and max illegal steps of one episode;

0 commit comments

Comments
 (0)