Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
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-HFO
Commits
9891216a
Commit
9891216a
authored
Jul 12, 2017
by
drallensmith
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'randomization' into add_preprocess_action - avoid rebase
parents
4b4fb433
7448e17a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
example/high_level_custom_agent.py
example/high_level_custom_agent.py
+1
-1
example/high_level_random_agent.py
example/high_level_random_agent.py
+1
-1
No files found.
example/high_level_custom_agent.py
View file @
9891216a
...
...
@@ -65,7 +65,7 @@ def main():
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'--port'
,
type
=
int
,
default
=
6000
,
help
=
"Server port"
)
parser
.
add_argument
(
'--seed'
,
type
=
int
,
default
=
None
,
help
=
"
Seed for randomization; uses machine
default if 0 or not given"
)
help
=
"
Python randomization seed; uses python
default if 0 or not given"
)
parser
.
add_argument
(
'--rand-pass'
,
action
=
"store_true"
,
help
=
"Randomize order of checking teammates for a possible pass"
)
parser
.
add_argument
(
'--eps'
,
type
=
float
,
default
=
0
,
...
...
example/high_level_random_agent.py
View file @
9891216a
...
...
@@ -19,7 +19,7 @@ def main():
parser
.
add_argument
(
'--port'
,
type
=
int
,
default
=
6000
,
help
=
"Server port"
)
parser
.
add_argument
(
'--seed'
,
type
=
int
,
default
=
None
,
help
=
"
Randomization seed (uses machine
default if 0 or not given"
)
help
=
"
Python randomization seed; uses python
default if 0 or not given"
)
args
=
parser
.
parse_args
()
if
args
.
seed
:
random
.
seed
(
args
.
seed
)
...
...
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