-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
44 lines (37 loc) · 870 Bytes
/
dvc.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
stages:
data_load:
cmd: python stages/data_load.py
deps:
- stages/data_load.py
params:
- data_load
train:
cmd: python stages/train.py
deps:
- stages/train.py
params:
- train
evaluate:
foreach:
${evaluate.datasets}
do:
cmd: python stages/evaluate.py --config=params.yaml --dataset=${item}
deps:
- stages/evaluate.py
params:
- reports_dir
- evaluate
metrics:
- ${reports_dir}/${evaluate.metrics_dir}/metrics_${item}.json:
cache: false
collect_metrics:
cmd: python stages/collect_metrics.py --config=params.yaml
deps:
- stages/collect_metrics.py
- ${reports_dir}/${evaluate.metrics_dir}
params:
- reports_dir
- collect_metrics
metrics:
- ${reports_dir}/${collect_metrics.metrics}:
cache: false