-
Notifications
You must be signed in to change notification settings - Fork 30
/
dvc.yaml
58 lines (58 loc) · 1.42 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
stages:
data_preprocess:
cmd: python3 src/data_preprocess.py --params params.yaml
deps:
- src/data_preprocess.py
- data/external/images-gen-1-8
- data/external/stats/pokemon-gen-1-8.csv
outs:
- data/processed/pokemon.csv
- data/processed/pokemon-with-image-paths.csv
- data/processed/pokemon
params:
- base
- data_preprocess
data_load:
cmd: python3 src/data_load.py --params params.yaml
deps:
- src/data_load.py
- data/processed/pokemon-with-image-paths.csv
- data/processed/pokemon
outs:
- data/processed/X.pckl
- data/processed/X_train.pckl
- data/processed/X_test.pckl
- data/processed/y.pckl
- data/processed/y_train.pckl
- data/processed/y_test.pckl
params:
- base
- data_preprocess
train:
cmd: python3 src/train.py --params params.yaml
deps:
- src/train.py
- data/processed/X_train.pckl
- data/processed/X_test.pckl
- data/processed/y_train.pckl
- data/processed/y_test.pckl
outs:
- outputs/model
- outputs/train_history.png
params:
- base
- data_preprocess
- train
evaluate:
cmd: python3 src/evaluate.py --params params.yaml
deps:
- outputs/model/keras_metadata.pb
- outputs/model/saved_model.pb
- outputs/train_history.png
outs:
- outputs/confusion_matrix.png
params:
- base
metrics:
- outputs/metrics.yaml:
cache: false