Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ozan Catal
Animal Ai Env
Commits
a8420fdb
Commit
a8420fdb
authored
Apr 30, 2019
by
Benjamin Beyret
Browse files
adds exampleTraining.yaml + add chmod to readme
parent
ef168a58
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a8420fdb
...
...
@@ -43,9 +43,9 @@ You will need to download the environment for your system:
| MacOS |
[
download here
](
https://www.doc.ic.ac.uk/~bb1010/animalAI/env_mac.zip
)
|
| Windows |
[
download here
](
https://www.doc.ic.ac.uk/~bb1010/animalAI/env_windows.zip
)
|
You can now unzip the content of the archive to the
`env`
folder and you're ready to go! Make sure the
`AnimalAI.
exe/app/x_86_64
`
is in
`env/`
.
Head o
ve
r
to
[
Quick Start Guide
](
documentation/quickstart.md
)
for a quick
overview of how the environment works.
You can now unzip the content of the archive to the
`env`
folder and you're ready to go! Make sure the
executable
`AnimalAI.
*
`
is in
`env/`
.
On linux you may ha
ve to
make the file executable by running
`chmod +x env/AnimalAI.x86_64`
.
Head over to
[
Quick Start Guide
](
documentation/quickstart.md
)
for a quick
overview of how the environment works.
## Manual Control
...
...
configs/exampleTraining.yaml
0 → 100644
View file @
a8420fdb
!ArenaConfig
arenas
:
0
:
!Arena
t
:
1000
rand_all_colors
:
true
rand_all_sizes
:
true
items
:
-
!Item
name
:
Beam1
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
-
!Item
name
:
Cylinder
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
-
!Item
name
:
GoodGoal
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
1
:
!Arena
t
:
1000
rand_all_colors
:
false
rand_all_sizes
:
true
items
:
-
!Item
name
:
TransparentWall
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
-
!Item
name
:
GoodGoal
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
2
:
!Arena
t
:
1000
rand_all_colors
:
false
rand_all_sizes
:
true
items
:
-
!Item
name
:
Cardbox1
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
-
!Item
name
:
BadGoal
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
-
!Item
name
:
GoodGoal
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
3
:
!Arena
t
:
1000
rand_all_colors
:
false
rand_all_sizes
:
true
items
:
-
!Item
name
:
DeathZone
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
-
!Item
name
:
GoodGoal
positions
:
[]
rand_color
:
false
rotations
:
[]
sizes
:
[]
\ No newline at end of file
train.py
View file @
a8420fdb
...
...
@@ -8,7 +8,7 @@ import sys
# ML-agents parameters for training
env_path
=
'env
s
/AnimalAI'
env_path
=
'env/AnimalAI'
worker_id
=
random
.
randint
(
1
,
100
)
seed
=
10
base_port
=
5005
...
...
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