-
Notifications
You must be signed in to change notification settings - Fork 1
/
dvc.yaml
74 lines (62 loc) · 1.93 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
63
64
65
66
67
68
69
70
71
72
73
74
stages:
data_ingestion:
cmd: python src/DeepfakeDetection/pipeline/stage_01_data_ingestion.py
deps:
- src/DeepfakeDetection/pipeline/stage_01_data_ingestion.py
- src/DeepfakeDetection/components/data_ingestion.py
- config/config.yaml
outs:
- artifacts/data_ingestion/data
data_preprocessing:
cmd: python src/DeepfakeDetection/pipeline/stage_02_data_preprocessing.py
deps:
- src/DeepfakeDetection/pipeline/stage_02_data_preprocessing.py
- src/DeepfakeDetection/components/data_preprocessing.py
- config/config.yaml
- artifacts/data_ingestion/data
params:
- max_frames
- fps
- resolution
- expansion_factor
outs:
- artifacts/data_preprocessing/train
- artifacts/data_preprocessing/test
- artifacts/data_preprocessing/val
model_training:
cmd: python src/DeepfakeDetection/pipeline/stage_03_model_training.py
deps:
- src/DeepfakeDetection/pipeline/stage_03_model_training.py
- src/DeepfakeDetection/components/model_training.py
- config/config.yaml
- artifacts/data_preprocessing/train
- artifacts/data_preprocessing/val
params:
- input_shape
- batch_size
- sequence_length
- num_workers
- dropout_rate
- units
- learning_rate
- epochs
- lstm_layers
- bidirectional
- weight_decay
outs:
- artifacts/model_training/model.pt
model_evaluation:
cmd: python src/DeepfakeDetection/pipeline/stage_04_model_evaluation.py
deps:
- src/DeepfakeDetection/pipeline/stage_04_model_evaluation.py
- src/DeepfakeDetection/components/model_evaluation.py
- config/config.yaml
- artifacts/model_training/model.pt
- artifacts/data_preprocessing/test
params:
- input_shape
- batch_size
- sequence_length
- num_workers
outs:
- artifacts/model_evaluation/score.json