-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
40 lines (39 loc) · 1.05 KB
/
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
stages:
preprocess:
cmd: python src/pipeline/preprocess.py --params src/pipeline/params.yaml
deps:
- ./data/MontgomerySet
- ./data/ChinaSet_AllFiles
params:
- ./src/pipeline/params.yaml:
- dataset.montgomery_image_path # Assumes params.yaml otherwise must speciffy different file name
- dataset.montgomery_mask_path
- dataset.shenzen_image_path
- dataset.shenzen_mask_path
- dataset.data_dir
outs:
- ./data/datalist.csv
train:
cmd: python src/pipeline/train_dvc.py --params src/pipeline/params.yaml
deps:
- ./data/datalist.csv
params:
- ./src/pipeline/params.yaml:
- dataset.data_dir
- training_parameter.batch_size
- training_parameter.learning_rate
- network_parameter.input_size
- network_parameter.num_classes
- dataset.num_workers
metrics:
- results/metrics.json
- dvclive/metrics.json
plots:
- results/plots/metrics:
x: step
- dvclive/plots/metrics:
x: step
artifacts:
best:
path: dvclive/artifacts/epoch=4-step=415.ckpt
type: model