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
dfaa63eb
You need to sign in or sign up before continuing.
Commit
dfaa63eb
authored
Mar 18, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove tcmalloc doc (#194)
parent
28ab4781
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
examples/A3C-Gym/README.md
examples/A3C-Gym/README.md
+2
-3
examples/DeepQNetwork/DQN.py
examples/DeepQNetwork/DQN.py
+0
-1
No files found.
examples/A3C-Gym/README.md
View file @
dfaa63eb
...
@@ -20,10 +20,9 @@ because the bottleneck in this implementation is not computation but data.
...
@@ -20,10 +20,9 @@ because the bottleneck in this implementation is not computation but data.
Some practicical notes:
Some practicical notes:
1.
On machines without huge memory, enabling tcmalloc may keep training throughput more stable.
1.
Occasionally, processes may not get terminated completely. It is suggested to use
`systemd-run`
to run any
2.
Occasionally, processes may not get terminated completely. It is suggested to use
`systemd-run`
to run any
multiprocess Python program to get a cgroup dedicated for the task.
multiprocess Python program to get a cgroup dedicated for the task.
3
.
Training with a significant slower speed (e.g. on CPU) will result in very bad score, probably because of async issues.
2
.
Training with a significant slower speed (e.g. on CPU) will result in very bad score, probably because of async issues.
### To run a pretrained Atari model for 100 episodes:
### To run a pretrained Atari model for 100 episodes:
...
...
examples/DeepQNetwork/DQN.py
View file @
dfaa63eb
...
@@ -41,7 +41,6 @@ END_EXPLORATION = 0.1
...
@@ -41,7 +41,6 @@ END_EXPLORATION = 0.1
MEMORY_SIZE
=
1e6
MEMORY_SIZE
=
1e6
# NOTE: will consume at least 1e6 * 84 * 84 bytes == 6.6G memory.
# NOTE: will consume at least 1e6 * 84 * 84 bytes == 6.6G memory.
# Suggest using tcmalloc to manage memory space better.
INIT_MEMORY_SIZE
=
5e4
INIT_MEMORY_SIZE
=
5e4
STEPS_PER_EPOCH
=
10000
STEPS_PER_EPOCH
=
10000
EVAL_EPISODE
=
50
EVAL_EPISODE
=
50
...
...
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