-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
77 lines (63 loc) · 1.38 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
75
76
stages:
profile_generation:
cmd: python dvc_pressure_map_gen.py
deps:
- dvc_pressure_map_gen.py
params:
- gengaus
- random_seed
- dataset.n_samples
- env.sen_geometry.x_len
- env.sen_geometry.y_len
- env.pressure_profile
outs:
- data/pressure/pic
# - data/gaus_param.npy
simulation:
cmd: python dvc_sim_runner.py
params:
- random_seed
- env.sen_geometry
- env.phys
- sim
deps:
- dvc_sim_runner.py
- data/pressure/pic
outs:
- data/sensor_signal
learning:
cmd: python dvc_model_learning.py
params:
- train
deps:
- data/sensor_signal
- dvc_model_learning.py
- torch_sensor_lib/nets.py
outs:
- data/model
plots:
- reports/learning_curve.csv:
cache: false
metrics:
- reports/summary.json:
cache: false
evaluation:
cmd: python dvc_evaluate_model.py
deps:
- data/model
- dvc_evaluate_model.py
outs:
- reports/report.md:
cache: false
- reports/l_curve.png:
cache: false
- reports/predict_examples.jpg:
cache: false
- logsdir
make_plot:
cmd: dvc plots diff 973a7c --x-label "epochs" --y-label "loss"
deps:
- reports/learning_curve.csv
outs:
- dvc_plots/index.html:
cache: false