-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
42 lines (39 loc) · 981 Bytes
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3"
services:
qd4csp:
image:
qd4csp
volumes:
- ./experiments:/workdir/experiments
- ./experiment_configs:/workdir/experiment_configs
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- MP_API_KEY=${MP_API_KEY}
map-elites:
image:
qd4csp
volumes:
- ./experiments:/workdir/experiments
- ./experiment_configs:/workdir/experiment_configs
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- MP_API_KEY=${MP_API_KEY}
- EXP="experiment_configs/demo.json"
command: poetry run map-elites $EXP
reproduce-results:
image:
qd4csp
volumes:
- ./experiments:/workdir/experiments
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- MP_API_KEY=${MP_API_KEY}
command:
- /bin/bash
- -c
- |
poetry run download-data
poetry run reproduce-results