-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
43 lines (43 loc) · 1.78 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
stages:
train_yolact:
cmd: python src/models/yolact/custom_train.py --config=yolact_resnet50_config
--batch_size=3
deps:
- data/TrashCan/instances_train_trashcan.json
- data/TrashCan/instances_val_trashcan_splt.json
- data/TrashCan/train/
- data/TrashCan/val/
- src/models/yolact/custom_train.py
- src/models/yolact/data/config.py
outs:
- models/yolact/best_model.pth
overfit_yolact:
cmd: python src/models/yolact/custom_train.py --config=yolact_resnet50_config_overfit --batch_size=3 --best_model=best_model_overfit.pth
deps:
- data/TrashCan/instances_overfit_trashcan.json
- data/TrashCan/train/
- data/TrashCan/val/
- src/models/yolact/custom_train.py
- src/models/yolact/data/config.py
outs:
- models/yolact/best_model_overfit.pth
train_yolact53:
cmd: python src/models/yolact/custom_train.py --config=yolact_darknet53_config --batch_size=2 --best_model=best_model53.pth --max_iter=20000
deps:
- data/TrashCan/instances_train_trashcan.json
- data/TrashCan/instances_val_trashcan_splt.json
# - data/TrashCan/train/ we do not dd them because above files will have to change also and we will ise less computation
# - data/TrashCan/val/
- src/models/yolact/custom_train.py
- src/models/yolact/data/config.py
outs:
- models/yolact/best_model53.pth
train_yolact_adam:
cmd: python src/models/yolact/custom_train.py --config=yolact_resnet50_config --optimizer=adam --batch_size=3 --best_model=best_model_adam.pth
deps:
- data/TrashCan/instances_train_trashcan.json
- data/TrashCan/instances_val_trashcan_splt.json
- src/models/yolact/custom_train.py
- src/models/yolact/data/config.py
outs:
- models/yolact/best_model_adam.pth