-
Notifications
You must be signed in to change notification settings - Fork 1
/
dvc.yaml
45 lines (41 loc) · 1.24 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
stages:
data_ingestion:
cmd: python src/objectDetection/pipeline/stage_01_data_ingestion.py
deps:
- src/objectDetection/pipeline/stage_01_data_ingestion.py
- config/config.yaml
outs:
- artifacts/data_ingestion/dataset.zip
prepare_base_model:
cmd: python src/objectDetection/pipeline/stage_02_prepare_base_model.py
deps:
- src/objectDetection/pipeline/stage_02_prepare_base_model.py
- config/config.yaml
outs:
- artifacts/prepare_base_model
training:
cmd: python src/objectDetection/pipeline/stage_03_training.py
deps:
- src/objectDetection/pipeline/stage_03_training.py
- config/config.yaml
- artifacts/data_ingestion/dataset.zip
- artifacts/prepare_base_model
params:
- EPOCHS
- BATCH_SIZE
outs:
- artifacts/training/model.pt
evaluation:
cmd: python src/objectDetection/pipeline/stage_04_evaluation.py
deps:
- src/objectDetection/pipeline/stage_04_evaluation.py
- config/config.yaml
- artifacts/data_ingestion/dataset.zip
- artifacts/training/model.pt
params:
- BATCH_SIZE
metrics:
- scores.json:
cache: false
outs:
- torchserve/models/detection.onnx