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
cde0b088
Commit
cde0b088
authored
Apr 30, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf notes about a3c
parent
6b0a1a70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
examples/A3C-Gym/README.md
examples/A3C-Gym/README.md
+3
-2
tensorpack/predict/concurrency.py
tensorpack/predict/concurrency.py
+1
-0
No files found.
examples/A3C-Gym/README.md
View file @
cde0b088
...
...
@@ -20,9 +20,10 @@ because the bottleneck in this implementation is not computation but data.
Some practicical notes:
1.
Occasionally, processes may not get terminated completely. It is suggested to use
`systemd-run`
to run any
1.
Prefer Python 3.
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.
2
.
Training with a significant slower speed (e.g. on CPU) will result in very bad score, probably because of async issues.
3
.
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:
...
...
tensorpack/predict/concurrency.py
View file @
cde0b088
...
...
@@ -155,6 +155,7 @@ class MultiThreadAsyncPredictor(AsyncPredictorBase):
# TODO XXX set logging here to avoid affecting TF logging
import
tornado.options
as
options
options
.
parse_command_line
([
'--logging=debug'
])
logger
.
warn
(
"MultiThreadAsyncPredictor is inefficient in Python 2! Switch to Python 3 instead."
)
def
start
(
self
):
if
self
.
_need_default_sess
:
...
...
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