Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
60613a87
Commit
60613a87
authored
Jul 24, 2018
by
Raymond Yuan
Browse files
add game name param
parent
43d85fbd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
research/a3c_blogpost/a3c_cartpole.py
research/a3c_blogpost/a3c_cartpole.py
+2
-1
No files found.
research/a3c_blogpost/a3c_cartpole.py
View file @
60613a87
...
@@ -153,7 +153,8 @@ class MasterAgent():
...
@@ -153,7 +153,8 @@ class MasterAgent():
self
.
action_size
,
self
.
action_size
,
self
.
global_model
,
self
.
global_model
,
self
.
opt
,
res_queue
,
self
.
opt
,
res_queue
,
i
,
save_dir
=
self
.
save_dir
)
for
i
in
range
(
multiprocessing
.
cpu_count
())]
i
,
game_name
=
self
.
game_name
,
save_dir
=
self
.
save_dir
)
for
i
in
range
(
multiprocessing
.
cpu_count
())]
for
i
,
worker
in
enumerate
(
workers
):
for
i
,
worker
in
enumerate
(
workers
):
print
(
"Starting worker {}"
.
format
(
i
))
print
(
"Starting worker {}"
.
format
(
i
))
...
...
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