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
c54d2350
Commit
c54d2350
authored
Jul 28, 2017
by
drallensmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Note re -x in shell scripts
parent
b061212b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
example/python_agents_3v3.sh
example/python_agents_3v3.sh
+3
-2
example/python_agents_eps_3v3.sh
example/python_agents_eps_3v3.sh
+5
-3
example/random_python_2v1.sh
example/random_python_2v1.sh
+6
-2
No files found.
example/python_agents_3v3.sh
View file @
c54d2350
...
...
@@ -2,10 +2,11 @@
./bin/HFO
--offense-agents
=
2
--defense-npcs
=
3
--offense-npcs
=
1
--trials
20
--headless
&
sleep
5
# -x is needed to skip first line - otherwise whatever default python version is will run
python
-x
./example/high_level_custom_agent.py
--port
6000 &> agent1.txt &
python ./example/high_level_custom_agent.py
--port
6000 &> agent1.txt &
sleep
5
python
-x
./example/high_level_custom_agent.py
--port
6000 &> agent2.txt &
python ./example/high_level_custom_agent.py
--port
6000 &> agent2.txt &
# The magic line
# $$ holds the PID for this script
...
...
example/python_agents_eps_3v3.sh
View file @
c54d2350
...
...
@@ -2,10 +2,12 @@
./bin/HFO
--offense-agents
=
2
--defense-npcs
=
3
--offense-npcs
=
1
--trials
20
--headless
&
sleep
5
# -x is needed to skip first line - otherwise whatever default python version is will run
python
-x
./example/high_level_custom_agent.py
--eps
0.2
--port
6000 &> agent1.txt &
# If wanting to test below with different python versions, add -x to avoid
# the #!/usr/bin/env python initial line.
python ./example/high_level_custom_agent.py
--eps
0.2
--port
6000 &> agent1.txt &
sleep
5
python
-x
./example/high_level_custom_agent.py
--eps
0.2
--port
6000 &> agent2.txt &
python ./example/high_level_custom_agent.py
--eps
0.2
--port
6000 &> agent2.txt &
# The magic line
# $$ holds the PID for this script
...
...
example/random_python_2v1.sh
View file @
c54d2350
...
...
@@ -2,9 +2,13 @@
./bin/HFO
--offense-agents
=
2
--defense-npcs
=
1
--trials
20
--headless
&
sleep
5
python
-x
example/high_level_random_agent.py
--port
6000 &> agent1.txt &
# If wanting to test below with different python versions, add -x to avoid
# the #!/usr/bin/env python initial line.
python example/high_level_random_agent.py
--port
6000 &> agent1.txt &
sleep
5
python
-x
example/high_level_random_agent.py
--port
6000 &> agent2.txt &
python example/high_level_random_agent.py
--port
6000 &> agent2.txt &
# The magic line
# $$ holds the PID for this script
...
...
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