Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
manavsinghal157
flatland-rl
Commits
01d61dcc
Commit
01d61dcc
authored
Jul 30, 2019
by
spmohanty
Browse files
Fix small typo
parent
6390c67e
Changes
1
Hide whitespace changes
Inline
Side-by-side
run.py
View file @
01d61dcc
...
@@ -19,7 +19,7 @@ remote_client = FlatlandRemoteClient()
...
@@ -19,7 +19,7 @@ remote_client = FlatlandRemoteClient()
#####################################################################
#####################################################################
def
my_controller
(
obs
,
number_of_agents
):
def
my_controller
(
obs
,
number_of_agents
):
_action
=
{}
_action
=
{}
for
_idx
range
(
number_of_agents
):
for
_idx
in
range
(
number_of_agents
):
_action
[
_idx
]
=
np
.
random
.
randint
(
0
,
5
)
_action
[
_idx
]
=
np
.
random
.
randint
(
0
,
5
)
return
_action
return
_action
...
...
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