-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathdvc.yaml
62 lines (62 loc) · 1.28 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
params:
- results/train/params.yaml
metrics:
- results/train/metrics.json
- results/evaluate/metrics.json
plots:
- results/train/plots/metrics:
x: step
- results/evaluate/plots/images
artifacts:
pool-segmentation:
path: models/model.pkl
type: model
desc: This is a Computer Vision (CV) model that's segmenting out swimming pools
from satellite images.
labels:
- cv
- segmentation
- satellite-images
- shufflenet_v2_x2_0
stages:
data_split:
cmd: python src/data_split.py
deps:
- data/pool_data
- src/data_split.py
params:
- base
- data_split
outs:
- data/test_data
- data/train_data
train:
cmd: python src/train.py
deps:
- data/train_data
- src/train.py
params:
- base
- train
outs:
- models/model.pkl
- models/model.pth
- results/train
evaluate:
cmd: python src/evaluate.py
deps:
- data/test_data
- models/model.pkl
- src/evaluate.py
params:
- base
- evaluate
outs:
- results/evaluate
sagemaker:
cmd: cp models/model.pth sagemaker/code/model.pth && cd sagemaker && tar -cpzf
model.tar.gz code/ && cd .. && mv sagemaker/model.tar.gz . && rm sagemaker/code/model.pth
deps:
- models/model.pth
outs:
- model.tar.gz