-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
47 lines (47 loc) · 1.26 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
stages:
preprocess_train:
cmd: python src/data/preprocess.py data/Train/resized_images_N/ data/train_preprocessed_images/
True
deps:
- data/Train/resized_images_N/
- src/data/preprocess.py
outs:
- data/train_preprocessed_images/:
cache: false
preprocess_test:
cmd: python src/data/preprocess.py data/Test/resized_test_images_N/ data/test_preprocessed_images/
False
deps:
- data/Test/resized_test_images_N/
- src/data/preprocess.py
outs:
- data/test_preprocessed_images/:
cache: false
train:
cmd: python src/models/train.py
deps:
- data/Train/resized_train.data.v1.txt
- data/Train/resized_train.gold.v1.txt
- data/train_preprocessed_images/
- src/models/conf.py
- src/models/utils.py
- src/models/train.py
outs:
- models/model.pt
evaluate:
cmd: python src/models/evaluate.py
deps:
- data/Test/en.test.data.v1.1.txt
- data/Test/en.test.gold.v1.1.txt
- data/test_preprocessed_images/
- models/model.pt
- src/models/conf.py
- src/models/utils.py
- src/models/evaluate.py
metrics:
- metrics/hits1.metric:
cache: false
- metrics/hits3.metric:
cache: false
- metrics/mrr.metric:
cache: false