Repository navigation
Expand file tree
/
Copy pathdvc.lock
More file actions
173 lines (173 loc) · 4.98 KB
/
Copy pathdvc.lock
File metadata and controls
173 lines (173 loc) · 4.98 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
schema: '2.0'
stages:
clean_dataframe:
cmd: python scripts/clean_dataframe.py --data-raw data/raw --images-path data/prepared/images
--output-path data/prepared/cleaned_irradiance.csv
deps:
- path: data/prepared/images
hash: md5
md5: dd6cd7f293eaf3dfb5178f5bd19c0097.dir
size: 63904746427
nfiles: 773978
- path: data/raw/Folsom_irradiance.csv
hash: md5
md5: f7deba7ccd089dbd3f52a46405a7dfc2
size: 76536976
- path: scripts/clean_dataframe.py
hash: md5
md5: 496c3732d2858e429230b0cbac4510b0
size: 1579
outs:
- path: data/prepared/cleaned_irradiance.csv
hash: md5
md5: 04425339057a4d994421b7b02a7b97f5
size: 48285445
export_periods:
cmd: python scripts/export_periods.py --cleaned-dataframe-path data/prepared/cleaned_irradiance.csv
--time-window 15 --time-shift 5 --history-size 4 --output-path data/prepared/periods.pickle
deps:
- path: data/prepared/cleaned_irradiance.csv
hash: md5
md5: 04425339057a4d994421b7b02a7b97f5
size: 48285445
- path: scripts/export_periods.py
hash: md5
md5: f51810d75754aa1f645b9c96d18791cd
size: 1797
params:
params.yaml:
export_periods.history_size: 4
export_periods.time_shift: 5
export_periods.time_window: 15
outs:
- path: data/prepared/periods.pickle
hash: md5
md5: ee85f8d8652dd1d5316e5938d9cbdd0b
size: 127096188
train_forecaster:
cmd: python scripts/train_forecaster.py --data-root data/Folsom --periods-path
data/prepared/periods.pickle
deps:
- path: data/Folsom
hash: md5
md5: 1a067740695b101faef4ac7b7a6c721b.dir
size: 64100647697
nfiles: 775917
- path: data/prepared/periods.pickle
hash: md5
md5: 036a030ad1c057517cc40f5056b035d7
size: 7965007
- path: scripts/train_forecaster.py
hash: md5
md5: 05eafd54576bfa78bf27a628fba79538
size: 5023
- path: src/solar_irradiance/models/forecaster.py
hash: md5
md5: fc1305b52d0315f1015ae9c2acd4dd53
size: 6082
params:
params.yaml:
train_forecaster:
script_path: scripts/train_forecaster.py
seed: 42
debug: false
test_only: false
restore_from_ckpt:
export:
export_to_onnx: false
opset: 15
trainer:
devices: 1
precision: 32
max_epochs: 1000
model:
model_name: r3d_18
input_channels: 4
loss_function: MAE
lr: 0.0003
lr_patience: 5
callbacks:
model_checkpoint:
monitor: val_MeanAbsolutePercentageError
mode: min
save_top_k: 1
save_last: false
verbose: true
dirpath: checkpoints/
filename: epoch_{epoch:03d}
auto_insert_metric_name: false
early_stopping:
monitor: val_MeanAbsolutePercentageError
mode: min
patience: 20
min_delta: 0
datamodule:
augment: false
image_size:
- 384
- 384
image_mean:
- 0.43216
- 0.394666
- 0.3764
image_std:
- 0.22803
- 0.22145
- 0.21698
batch_size: 16
workers: 6
add_sun_mask: false
add_irradiance_channel: true
export_eval_periods:
cmd: python scripts/export_eval_periods.py --data-prepared-path data/prepared
--output-path data/eval
deps:
- path: data/prepared/images/
hash: md5
md5: dd6cd7f293eaf3dfb5178f5bd19c0097.dir
size: 63904746427
nfiles: 773978
- path: data/prepared/periods.pickle
hash: md5
md5: 9c700ecfb772e166291f52f0e95fb51a
size: 127096187
- path: scripts/export_eval_periods.py
hash: md5
md5: 3088a867d0b29c9a5dc904fae2a1b2a6
size: 1391
outs:
- path: data/eval
hash: md5
md5: ab553f8ccc61584092378cf54bc169be.dir
size: 332972404
nfiles: 3998
convert_timestamps:
cmd: python scripts/convert_timestamps.py --data-raw data/raw --output-path data/prepared/images
deps:
- path: data/raw/images/
hash: md5
md5: 234b68378a387383601e76c4800ec5b7.dir
size: 63496
nfiles: 2
- path: scripts/convert_timestamps.py
hash: md5
md5: f38bbee75b58b0acb9dcb88ce5f3a601
size: 920
outs:
- path: data/prepared/images
hash: md5
md5: dd6cd7f293eaf3dfb5178f5bd19c0097.dir
size: 63904746427
nfiles: 773978
get_data:
cmd: bash scripts/get_data.sh
outs:
- path: data/raw/Folsom_irradiance.csv
hash: md5
md5: f7deba7ccd089dbd3f52a46405a7dfc2
size: 76536976
- path: data/raw/images/
hash: md5
md5: de689666f9b1cf3c403f9de20e84e378.dir
size: 64056845701
nfiles: 775918