Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
c0afb545
Commit
c0afb545
authored
Aug 12, 2019
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DQN] Use ALE from atari_py
parent
a4df1634
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
examples/DeepQNetwork/README.md
examples/DeepQNetwork/README.md
+7
-5
examples/DeepQNetwork/atari.py
examples/DeepQNetwork/atari.py
+1
-1
No files found.
examples/DeepQNetwork/README.md
View file @
c0afb545
...
@@ -17,8 +17,9 @@ used a modified version where each batch contains transitions from different sim
...
@@ -17,8 +17,9 @@ used a modified version where each batch contains transitions from different sim
## Usage:
## Usage:
Install dependencies by
`pip install 'gym[atari]'`
.
### With ALE (paper's setting):
### With ALE (paper's setting):
Install
[
ALE
](
https://github.com/mgbellemare/Arcade-Learning-Environment
)
and
`gym[atari]`
.
Download an
[
atari rom
](
https://github.com/openai/atari-py/tree/gdb/atari_py/atari_roms
)
, e.g.:
Download an
[
atari rom
](
https://github.com/openai/atari-py/tree/gdb/atari_py/atari_roms
)
, e.g.:
```
```
...
@@ -53,9 +54,10 @@ Claimed performance in the paper can be reproduced, on several games I've tested
...
@@ -53,9 +54,10 @@ Claimed performance in the paper can be reproduced, on several games I've tested


| Environment | Avg Score | Download |
| Environment | Avg Score | Download |
|:-------------
|:---------:|:
------------------------------------------------------------------------------------:|
|:-------------
-|:---------:|:-
------------------------------------------------------------------------------------:|
| breakout.bin | 465 |
[
:arrow_down:
](
http://models.tensorpack.com/DeepQNetwork/DoubleDQN-breakout.bin.npz
)
|
| breakout.bin | 465 |
[
:arrow_down:
](
http://models.tensorpack.com/DeepQNetwork/DoubleDQN-breakout.bin.npz
)
|
| seaquest.bin | 8686 |
[
:arrow_down:
](
http://models.tensorpack.com/DeepQNetwork/DoubleDQN-seaquest.bin.npz
)
|
| seaquest.bin | 8686 |
[
:arrow_down:
](
http://models.tensorpack.com/DeepQNetwork/DoubleDQN-seaquest.bin.npz
)
|
| ms_pacman.bin | 3323 |
[
:arrow_down:
](
http://models.tensorpack.com/DeepQNetwork/DoubleDQN-ms_pacman.bin.npz
)
|
## Speed
## Speed
On one GTX 1080Ti,
On one GTX 1080Ti,
...
...
examples/DeepQNetwork/atari.py
View file @
c0afb545
...
@@ -8,7 +8,7 @@ import threading
...
@@ -8,7 +8,7 @@ import threading
import
cv2
import
cv2
import
gym
import
gym
import
six
import
six
from
ale_python_interface
import
ALEInterface
from
a
tari_py.a
le_python_interface
import
ALEInterface
from
gym
import
spaces
from
gym
import
spaces
from
gym.envs.atari.atari_env
import
ACTION_MEANING
from
gym.envs.atari.atari_env
import
ACTION_MEANING
from
six.moves
import
range
from
six.moves
import
range
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment