-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
255 lines (232 loc) · 8.73 KB
/
docker-compose.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
services:
redis:
image: redis:7.2.2
ports:
- "6379:6379"
########## AUDIO MODALITY SERVICES
pre-processing-audio:
image: ghcr.io/xr2learn/pre-processing-audio:latest
volumes:
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
- "./outputs:/app/outputs"
- "./datasets:/app/datasets"
working_dir: /app
environment:
# To include environment variables in the format below
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python pre_processing_audio_modality/preprocess.py
handcrafted-features-generation-audio:
image: ghcr.io/xr2learn/handcrafted-features-generation-audio:latest
volumes:
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
- "./outputs:/app/outputs"
- "./datasets:/app/datasets"
working_dir: /app
environment:
# To include environment variables in the format below
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python handcrafted_features_extraction_audio_modality/generate_features.py
ssl-audio:
image: ghcr.io/xr2learn/ssl-audio:latest
volumes:
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
- "./outputs:/app/outputs"
- "./datasets:/app/datasets"
working_dir: /app
environment:
# To include environment variables in the format below
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python ssl_audio_modality/pre_train.py
ssl-features-generation-audio:
image: ghcr.io/xr2learn/ssl-features-generation-audio:latest
volumes:
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
- "./outputs:/app/outputs"
- "./datasets:/app/datasets"
working_dir: /app
environment:
# To include environment variables in the format below
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python ssl_features_extraction_audio_modality/generate_features.py
ed-training-audio:
image: ghcr.io/xr2learn/ed-training-audio:latest
volumes:
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
- "./outputs:/app/outputs"
- "./datasets:/app/datasets"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python supervised_audio_modality/train.py
emotion-classification-audio:
image: ghcr.io/xr2learn/ed-classification-audio:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python emotion_classification_audio_modality/predict.py
########## BIO-MEASUREMENTS (BM) MODALITY SERVICES
pre-processing-bm:
image: ghcr.io/xr2learn/pre-processing-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python pre_processing_bm_modality/preprocess.py
handcrafted-features-generation-bm:
image: ghcr.io/xr2learn/handcrafted-features-generation-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python handcrafted_features_extraction_bm_modality/generate_features.py
ssl-bm:
image: ghcr.io/xr2learn/ssl-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python ssl_bm_modality/pre_train.py
ssl-features-generation-bm:
image: ghcr.io/xr2learn/ssl-features-generation-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python ssl_features_extraction_bm_modality/generate_features.py
ed-training-bm:
image: ghcr.io/xr2learn/ed-training-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python supervised_bm_modality/train.py
emotion-classification-bm:
image: ghcr.io/xr2learn/ed-classification-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
- REDIS_HOST=redis
command: python emotion_classification_bm_modality/predict.py
########## BODY TRACKING MODALITY SERVICES
pre-processing-body-tracking:
image: ghcr.io/xr2learn/pre-processing-body-tracking:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python pre_processing_body_tracking_modality/preprocess.py
ed-training-body-tracking:
image: ghcr.io/xr2learn/ed-training-body-tracking:latest
volumes:
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
- "./outputs:/app/outputs"
- "./datasets:/app/datasets"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
command: python supervised_body_tracking_modality/train.py
emotion-classification-body-tracking:
image: ghcr.io/xr2learn/emotion-classification-body-tracking:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
- REDIS_HOST=redis
command: python emotion_classification_body_tracking_modality/predict.py
depends_on:
- redis
fusion-layer:
image: ghcr.io/xr2learn/fusion-layer:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
- PUBLISHER_ON=${PUBLISHER_ON:-true}
- REDIS_HOST=redis
command: python multimodal_fusion_layer/predict.py
personalization-tool:
image: ghcr.io/xr2learn/personalization-tool:latest
working_dir: /app
environment:
- REDIS_HOST=redis
command: python personalization_tool/suggest_activity_level.py
depends_on:
- redis
dashboard:
image: ghcr.io/xr2learn/dashboard:latest
working_dir: /app
environment:
- REDIS_HOST=redis
command: python web_app.py
depends_on:
- redis
- personalization-tool
ports:
- "8000:8000"
### Testing - to remove later
mock-xroom-writer:
image: ghcr.io/xr2learn/mock-xroom-writer:latest
volumes:
- "./datasets/:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
command: python mock_xroom_writer_bm_bt_modality/mock_xroom_writer.py
inference-data-processing-bm:
image: ghcr.io/xr2learn/inference-data-processing-bm:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
- REDIS_HOST=redis
command: python inference_data_processing_bm_modality/process_data.py
depends_on:
- redis
inference-data-processing-body-tracking:
image: ghcr.io/xr2learn/inference-data-processing-body-tracking:latest
volumes:
- "./datasets:/app/datasets"
- "./outputs:/app/outputs"
- "${CONFIG_FILE_PATH:-./configuration.json}:/app/configuration.json"
working_dir: /app
environment:
- EXPERIMENT_ID=${EXPERIMENT_ID:-development-model}
- REDIS_HOST=redis
command: python inference_data_processing_body_tracking_modality/process_data.py
depends_on:
- redis