-
Notifications
You must be signed in to change notification settings - Fork 0
/
application_config.yaml
110 lines (109 loc) · 3.19 KB
/
application_config.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
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
decode:
v0_10_1:
train:
app:
cmd:
- "/docker/entrypoint.sh"
- "--train"
- "--calib_path=$(find /files/data -name '*.mat' | head -n 1)"
- "--param_path=$(find /files/config -name '*.yaml' | head -n 1)"
- "--model_path=/files/model"
- "--log_path=/files/log"
env: []
handler:
image_url: "public.ecr.aws/g0e9g3b1/decode:v0_10_1"
files_down:
config_id: config
data_ids: data
artifact_ids: artifact
files_up:
log: log
artifact: model
aws_resources:
hardware:
MEMORY: 8000
VCPU: 4
GPU: 1
timeout: 43200
fit:
app:
cmd:
- "mkdir /files/output &&"
- "/docker/entrypoint.sh"
- "--fit"
- "--frame_path=$(find /files/data -name '*.tif*' | head -n 1)" # matches both .tif and .tiff
- "--frame_meta_path=$(find /files/config -name '*.yaml' | head -n 1)"
- "--model_path=$(find /files/artifact/model -type d -maxdepth 1 | head -n 1)"
- "--emitter_path=/files/output/emitter.h5"
env: []
handler:
image_url: "public.ecr.aws/g0e9g3b1/decode:v0_10_1"
files_down:
config_id: config
data_ids: data
artifact_ids: artifact
files_up:
artifact: output
aws_resources:
hardware:
MEMORY: 8000
VCPU: 4
GPU: 1
timeout: 18000
latest:
train:
app:
cmd:
- "mkdir /files/config &&"
- "python -m cli.config /files/config &&"
- "cp -r /files/config_tmp/* /files/config &&"
- "python -m cli.train"
- "--config-path=/files/config"
- "--config-name=/files/config/conf_run"
- "Paths.calibration=$(find /files/data -name '*_3dcal.mat' | head -n 1)"
- "Paths.experiment=/files/model"
- "Paths.logging=/files/log"
- "Paths.trafo=$(find /files/data -name '*_trafo.mat' | head -n 1 | grep . || echo null)"
env: []
handler:
image_url: "public.ecr.aws/g0e9g3b1/decode:latest"
files_down:
config_id: config_tmp
data_ids: data
artifact_ids: artifact
files_up:
log: log
artifact: model
aws_resources:
hardware:
MEMORY: 8000
VCPU: 4
GPU: 1
timeout: 18000
comet:
latest:
run:
app:
cmd:
- "mkdir -p /files/log &&"
- "python -m docker_entrypoint"
- "--localizations_path=$(ls /files/data/*.csv /files/data/*.h5 2>/dev/null | head -n 1)"
- "--param_path=$(find /files/config -name '*.yaml' | head -n 1)"
- "--output_path=/files/output"
- " > /files/log/log.log"
env: []
handler:
image_url: "public.ecr.aws/g0e9g3b1/comet:latest"
files_down:
config_id: config
data_ids: data
artifact_ids: artifact
files_up:
log: log
output: output
aws_resources:
hardware:
MEMORY: 15000
VCPU: 4
GPU: 1
timeout: 18000