Skip to content

Commit afdf89b

Browse files
committed
Run dvc.yaml pipeline
1 parent e229c53 commit afdf89b

File tree

2 files changed

+113
-1
lines changed

2 files changed

+113
-1
lines changed

dvc.lock

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
schema: '2.0'
2+
stages:
3+
data_split:
4+
cmd: python src/data_split.py
5+
deps:
6+
- path: data/pool_data
7+
hash: md5
8+
md5: 14d187e749ee5614e105741c719fa185.dir
9+
size: 18999874
10+
nfiles: 183
11+
- path: src/data_split.py
12+
hash: md5
13+
md5: 280fa1684c5496fb9f76ff8c96bd2561
14+
size: 1035
15+
params:
16+
params.yaml:
17+
base:
18+
random_seed: 42
19+
data_split:
20+
test_regions:
21+
- REGION_1
22+
outs:
23+
- path: data/test_data
24+
hash: md5
25+
md5: 1bb16eb1219b47a8bf711ade27c476e4.dir
26+
size: 2087761
27+
nfiles: 24
28+
- path: data/train_data
29+
hash: md5
30+
md5: a28a7e4d342c27c1d7ad3c17ec1dfa7a.dir
31+
size: 16905965
32+
nfiles: 158
33+
train:
34+
cmd: python src/train.py
35+
deps:
36+
- path: data/train_data
37+
hash: md5
38+
md5: a28a7e4d342c27c1d7ad3c17ec1dfa7a.dir
39+
size: 16905965
40+
nfiles: 158
41+
- path: src/train.py
42+
hash: md5
43+
md5: 9db72f1631f53eecb232bc48992c425a
44+
size: 2507
45+
params:
46+
params.yaml:
47+
base:
48+
random_seed: 42
49+
train:
50+
valid_pct: 0.1
51+
arch: shufflenet_v2_x2_0
52+
img_size: 256
53+
batch_size: 8
54+
fine_tune_args:
55+
epochs: 8
56+
base_lr: 0.01
57+
outs:
58+
- path: models/model.pkl
59+
hash: md5
60+
md5: 63cb30df484bfa1d6ea2cdebac74876c
61+
size: 201725
62+
- path: models/model.pth
63+
hash: md5
64+
md5: 07b113fe1ab01de2d8a5453dccacdd3e
65+
size: 165147
66+
- path: results/train
67+
hash: md5
68+
md5: a26429ff680d9b01c7e92043821bf41c.dir
69+
size: 955
70+
nfiles: 5
71+
evaluate:
72+
cmd: python src/evaluate.py
73+
deps:
74+
- path: data/test_data
75+
hash: md5
76+
md5: 1bb16eb1219b47a8bf711ade27c476e4.dir
77+
size: 2087761
78+
nfiles: 24
79+
- path: models/model.pkl
80+
hash: md5
81+
md5: 63cb30df484bfa1d6ea2cdebac74876c
82+
size: 201725
83+
- path: src/evaluate.py
84+
hash: md5
85+
md5: 84d2fd3b371546730396a763a51527a0
86+
size: 3322
87+
params:
88+
params.yaml:
89+
base:
90+
random_seed: 42
91+
evaluate:
92+
n_samples_to_save: 10
93+
outs:
94+
- path: results/evaluate
95+
hash: md5
96+
md5: 34985c391291e22ac0cfdf6e83ec7268.dir
97+
size: 1257936
98+
nfiles: 11
99+
sagemaker:
100+
cmd: cp models/model.pth sagemaker/code/model.pth && cd sagemaker && tar -cpzf
101+
model.tar.gz code/ && cd .. && mv sagemaker/model.tar.gz . && rm sagemaker/code/model.pth
102+
deps:
103+
- path: models/model.pth
104+
hash: md5
105+
md5: 07b113fe1ab01de2d8a5453dccacdd3e
106+
size: 165147
107+
outs:
108+
- path: model.tar.gz
109+
hash: md5
110+
md5: c615b812da343d71fcda080597a24525
111+
size: 145778

dvc.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metrics:
66
plots:
77
- results/train/plots/metrics:
88
x: step
9+
- results/evaluate/plots/images
910
artifacts:
1011
pool-segmentation:
1112
path: models/model.pkl
@@ -16,7 +17,7 @@ artifacts:
1617
- cv
1718
- segmentation
1819
- satellite-images
19-
- unet
20+
- shufflenet_v2_x2_0
2021
stages:
2122
data_split:
2223
cmd: python src/data_split.py

0 commit comments

Comments
 (0)