Migrate model to pvnet version 5.0.6.post0+git.e31d0340.dirty
Browse files- .gitattributes +1 -0
- README.md +6 -2
- data_config.yaml +5 -5
- model_config.yaml +15 -18
- pytorch_model.bin → model_weights.safetensors +2 -2
.gitattributes
CHANGED
@@ -1 +1,2 @@
|
|
1 |
pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
1 |
pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
2 |
+
model_weights.safetensors filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -39,7 +39,7 @@ Data is prepared with the `ocf_data_sampler/torch_datasets/datasets/pvnet_uk` Da
|
|
39 |
## Results
|
40 |
|
41 |
The training logs for the current model can be found here:
|
42 |
-
- [https://wandb.ai/openclimatefix/NL-Solar/runs/
|
43 |
|
44 |
|
45 |
The training logs for all model runs of PVNet2 can be found [here](https://wandb.ai/openclimatefix/pvnet2.1).
|
@@ -60,4 +60,8 @@ This model was trained using the following Open Climate Fix packages:
|
|
60 |
|
61 |
The versions of these packages can be found below:
|
62 |
- pvnet==4.1.18
|
63 |
-
- ocf-data-sampler==0.2.
|
|
|
|
|
|
|
|
|
|
39 |
## Results
|
40 |
|
41 |
The training logs for the current model can be found here:
|
42 |
+
- [https://wandb.ai/openclimatefix/NL-Solar/runs/r4naockv](https://wandb.ai/openclimatefix/NL-Solar/runs/r4naockv)
|
43 |
|
44 |
|
45 |
The training logs for all model runs of PVNet2 can be found [here](https://wandb.ai/openclimatefix/pvnet2.1).
|
|
|
60 |
|
61 |
The versions of these packages can be found below:
|
62 |
- pvnet==4.1.18
|
63 |
+
- ocf-data-sampler==0.2.31
|
64 |
+
|
65 |
+
|
66 |
+
---
|
67 |
+
**Migration Note**: This model (HF commit 9ebb76d6497d3f0e53607e99b8ffe33679259464) was migrated on 2025-09-10 to pvnet version 5.0.6.post0+git.e31d0340.dirty
|
data_config.yaml
CHANGED
@@ -27,9 +27,9 @@ input_data:
|
|
27 |
dropout_fraction: 1.0
|
28 |
dropout_timedeltas_minutes:
|
29 |
- -180
|
30 |
-
image_size_pixels_height:
|
31 |
-
image_size_pixels_width:
|
32 |
-
interval_end_minutes:
|
33 |
interval_start_minutes: -120
|
34 |
max_staleness_minutes: null
|
35 |
normalisation_constants:
|
@@ -169,11 +169,11 @@ input_data:
|
|
169 |
site:
|
170 |
capacity_mode: variable
|
171 |
file_path: /home/zak/projects/PVNet/nl_solar/pv_data/netherlands_pv_data_v2.nc
|
172 |
-
interval_end_minutes:
|
173 |
interval_start_minutes: -2880
|
174 |
metadata_file_path: /home/zak/projects/PVNet/nl_solar/pv_data/netherlands_metadata.csv
|
175 |
time_resolution_minutes: 15
|
176 |
solar_position:
|
177 |
-
interval_end_minutes:
|
178 |
interval_start_minutes: -2880
|
179 |
time_resolution_minutes: 15
|
|
|
27 |
dropout_fraction: 1.0
|
28 |
dropout_timedeltas_minutes:
|
29 |
- -180
|
30 |
+
image_size_pixels_height: 36
|
31 |
+
image_size_pixels_width: 36
|
32 |
+
interval_end_minutes: 2880
|
33 |
interval_start_minutes: -120
|
34 |
max_staleness_minutes: null
|
35 |
normalisation_constants:
|
|
|
169 |
site:
|
170 |
capacity_mode: variable
|
171 |
file_path: /home/zak/projects/PVNet/nl_solar/pv_data/netherlands_pv_data_v2.nc
|
172 |
+
interval_end_minutes: 2880
|
173 |
interval_start_minutes: -2880
|
174 |
metadata_file_path: /home/zak/projects/PVNet/nl_solar/pv_data/netherlands_metadata.csv
|
175 |
time_resolution_minutes: 15
|
176 |
solar_position:
|
177 |
+
interval_end_minutes: 2880
|
178 |
interval_start_minutes: -2880
|
179 |
time_resolution_minutes: 15
|
model_config.yaml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
_target_: pvnet.models.
|
2 |
output_quantiles:
|
3 |
- 0.02
|
4 |
- 0.1
|
@@ -9,15 +9,15 @@ output_quantiles:
|
|
9 |
- 0.98
|
10 |
nwp_encoders_dict:
|
11 |
ecmwf:
|
12 |
-
_target_: pvnet.models.
|
13 |
_partial_: true
|
14 |
in_channels: 14
|
15 |
out_features: 64
|
16 |
number_of_conv3d_layers: 4
|
17 |
conv3d_channels: 32
|
18 |
-
image_size_pixels:
|
19 |
sat_encoder:
|
20 |
-
_target_: pvnet.models.
|
21 |
_partial_: true
|
22 |
in_channels: 11
|
23 |
out_features: 256
|
@@ -25,9 +25,17 @@ sat_encoder:
|
|
25 |
conv3d_channels: 32
|
26 |
image_size_pixels: 100
|
27 |
add_image_embedding_channel: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
target_key: site
|
29 |
output_network:
|
30 |
-
_target_: pvnet.models.
|
31 |
_partial_: true
|
32 |
fc_hidden_features: 128
|
33 |
n_res_blocks: 6
|
@@ -36,10 +44,7 @@ output_network:
|
|
36 |
embedding_dim: 16
|
37 |
include_sun: true
|
38 |
include_gsp_yield_history: false
|
39 |
-
|
40 |
-
include_time: true
|
41 |
-
adapt_batches: true
|
42 |
-
forecast_minutes: 2160
|
43 |
history_minutes: 2880
|
44 |
interval_minutes: 15
|
45 |
min_sat_delay_minutes: 60
|
@@ -49,14 +54,6 @@ pv_interval_minutes: 15
|
|
49 |
nwp_history_minutes:
|
50 |
ecmwf: 120
|
51 |
nwp_forecast_minutes:
|
52 |
-
ecmwf:
|
53 |
nwp_interval_minutes:
|
54 |
ecmwf: 60
|
55 |
-
optimizer:
|
56 |
-
_target_: pvnet.optimizers.EmbAdamWReduceLROnPlateau
|
57 |
-
lr: 0.0001
|
58 |
-
weight_decay: 0.01
|
59 |
-
amsgrad: true
|
60 |
-
patience: 4
|
61 |
-
factor: 0.1
|
62 |
-
threshold: 0.002
|
|
|
1 |
+
_target_: pvnet.models.LateFusionModel
|
2 |
output_quantiles:
|
3 |
- 0.02
|
4 |
- 0.1
|
|
|
9 |
- 0.98
|
10 |
nwp_encoders_dict:
|
11 |
ecmwf:
|
12 |
+
_target_: pvnet.models.late_fusion.encoders.encoders3d.DefaultPVNet
|
13 |
_partial_: true
|
14 |
in_channels: 14
|
15 |
out_features: 64
|
16 |
number_of_conv3d_layers: 4
|
17 |
conv3d_channels: 32
|
18 |
+
image_size_pixels: 36
|
19 |
sat_encoder:
|
20 |
+
_target_: pvnet.models.late_fusion.encoders.encoders3d.DefaultPVNet
|
21 |
_partial_: true
|
22 |
in_channels: 11
|
23 |
out_features: 256
|
|
|
25 |
conv3d_channels: 32
|
26 |
image_size_pixels: 100
|
27 |
add_image_embedding_channel: false
|
28 |
+
pv_encoder:
|
29 |
+
_target_: pvnet.models.late_fusion.site_encoders.encoders.SingleAttentionNetwork
|
30 |
+
_partial_: true
|
31 |
+
num_sites: 1
|
32 |
+
out_features: 64
|
33 |
+
num_heads: 4
|
34 |
+
kdim: 64
|
35 |
+
id_embed_dim: 64
|
36 |
target_key: site
|
37 |
output_network:
|
38 |
+
_target_: pvnet.models.late_fusion.linear_networks.networks.ResFCNet
|
39 |
_partial_: true
|
40 |
fc_hidden_features: 128
|
41 |
n_res_blocks: 6
|
|
|
44 |
embedding_dim: 16
|
45 |
include_sun: true
|
46 |
include_gsp_yield_history: false
|
47 |
+
forecast_minutes: 2880
|
|
|
|
|
|
|
48 |
history_minutes: 2880
|
49 |
interval_minutes: 15
|
50 |
min_sat_delay_minutes: 60
|
|
|
54 |
nwp_history_minutes:
|
55 |
ecmwf: 120
|
56 |
nwp_forecast_minutes:
|
57 |
+
ecmwf: 2880
|
58 |
nwp_interval_minutes:
|
59 |
ecmwf: 60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pytorch_model.bin → model_weights.safetensors
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ad51e8341008745f6e88e4104b1483bc4bcf98379f57cd589cfbdb634351023
|
3 |
+
size 1548563104
|