Upload model - 26kn31z5
Browse files- README.md +1 -2
- datamodule_config.yaml +3 -0
- full_experiment_config.yaml +121 -0
- model_config.yaml +18 -41
- model_weights.safetensors +2 -2
README.md
CHANGED
|
@@ -43,7 +43,6 @@ Data is prepared with the `ocf_data_sampler/torch_datasets/datasets/pvnet_uk` Da
|
|
| 43 |
|
| 44 |
<!-- Do not remove the lines below -->
|
| 45 |
The training logs for this model commit can be found here:
|
| 46 |
-
- [https://wandb.ai/openclimatefix/NL-Solar/runs/o9kjxito](https://wandb.ai/openclimatefix/NL-Solar/runs/o9kjxito)
|
| 47 |
|
| 48 |
|
| 49 |
<!-- The hardware section is also just nice to have -->
|
|
@@ -60,5 +59,5 @@ This model was trained using the following Open Climate Fix packages:
|
|
| 60 |
|
| 61 |
<!-- Especially do not change the two lines below -->
|
| 62 |
The versions of these packages can be found below:
|
| 63 |
-
-
|
| 64 |
- ocf-data-sampler==0.6.0.post0+git.a508745b.dirty
|
|
|
|
| 43 |
|
| 44 |
<!-- Do not remove the lines below -->
|
| 45 |
The training logs for this model commit can be found here:
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
<!-- The hardware section is also just nice to have -->
|
|
|
|
| 59 |
|
| 60 |
<!-- Especially do not change the two lines below -->
|
| 61 |
The versions of these packages can be found below:
|
| 62 |
+
- pvnet_summation==1.1.0.post0+git.3b6f1115.dirty
|
| 63 |
- ocf-data-sampler==0.6.0.post0+git.a508745b.dirty
|
datamodule_config.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pvnet_model:
|
| 2 |
+
model_id: openclimatefix-models/pvnet_nl
|
| 3 |
+
revision: de5ad0748be8952a4c0600a1ae6455bf802f5896
|
full_experiment_config.yaml
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
trainer:
|
| 2 |
+
_target_: lightning.pytorch.trainer.trainer.Trainer
|
| 3 |
+
accelerator: gpu
|
| 4 |
+
devices:
|
| 5 |
+
- 1
|
| 6 |
+
min_epochs: null
|
| 7 |
+
max_epochs: 100
|
| 8 |
+
reload_dataloaders_every_n_epochs: 0
|
| 9 |
+
num_sanity_val_steps: 8
|
| 10 |
+
fast_dev_run: false
|
| 11 |
+
log_every_n_steps: 50
|
| 12 |
+
model:
|
| 13 |
+
_target_: pvnet_summation.training.lightning_module.PVNetSummationLightningModule
|
| 14 |
+
model:
|
| 15 |
+
_target_: pvnet_summation.models.horizon_dense_model.HorizonDenseModel
|
| 16 |
+
output_quantiles:
|
| 17 |
+
- 0.02
|
| 18 |
+
- 0.1
|
| 19 |
+
- 0.25
|
| 20 |
+
- 0.5
|
| 21 |
+
- 0.75
|
| 22 |
+
- 0.9
|
| 23 |
+
- 0.98
|
| 24 |
+
output_network:
|
| 25 |
+
_target_: pvnet.models.late_fusion.linear_networks.networks.ResFCNet
|
| 26 |
+
_partial_: true
|
| 27 |
+
fc_hidden_features: 32
|
| 28 |
+
n_res_blocks: 1
|
| 29 |
+
res_block_layers: 2
|
| 30 |
+
dropout_frac: 0.2
|
| 31 |
+
predict_difference_from_sum: true
|
| 32 |
+
use_horizon_encoding: true
|
| 33 |
+
use_solar_position: true
|
| 34 |
+
force_non_crossing: true
|
| 35 |
+
history_minutes: 2880
|
| 36 |
+
forecast_minutes: 2160
|
| 37 |
+
interval_minutes: 15
|
| 38 |
+
num_input_locations: 12
|
| 39 |
+
input_quantiles:
|
| 40 |
+
- 0.02
|
| 41 |
+
- 0.1
|
| 42 |
+
- 0.25
|
| 43 |
+
- 0.5
|
| 44 |
+
- 0.75
|
| 45 |
+
- 0.9
|
| 46 |
+
- 0.98
|
| 47 |
+
optimizer:
|
| 48 |
+
_target_: pvnet_summation.optimizers.AdamWReduceLROnPlateau
|
| 49 |
+
lr: 0.0001
|
| 50 |
+
weight_decay: 0.25
|
| 51 |
+
amsgrad: true
|
| 52 |
+
patience: 10
|
| 53 |
+
factor: 0.1
|
| 54 |
+
threshold: 0.0
|
| 55 |
+
datamodule:
|
| 56 |
+
data_source_paths:
|
| 57 |
+
site:
|
| 58 |
+
file_path: /home/alex/NL/NL_regional_generation_kw.nc
|
| 59 |
+
metadata_file_path: /home/alex/NL/NL_regional_metadata.csv
|
| 60 |
+
satellite:
|
| 61 |
+
- /mnt/storage_u2_30tb_a/ml_training_zarrs/sat/uk_sat_crops/v1/2019_nonhrv.zarr
|
| 62 |
+
- /mnt/storage_u2_30tb_a/ml_training_zarrs/sat/uk_sat_crops/v1/2020_nonhrv.zarr
|
| 63 |
+
- /mnt/storage_u2_30tb_a/ml_training_zarrs/sat/uk_sat_crops/v1/2021_nonhrv.zarr
|
| 64 |
+
- /mnt/storage_u2_30tb_a/ml_training_zarrs/sat/uk_sat_crops/v1/2022_nonhrv.zarr
|
| 65 |
+
- /mnt/storage_u2_30tb_a/ml_training_zarrs/sat/uk_sat_crops/v3/2023_nonhrv.zarr
|
| 66 |
+
- /mnt/storage_u2_30tb_a/ml_training_zarrs/sat/uk_sat_crops/v3/2024_nonhrv.zarr
|
| 67 |
+
nwp:
|
| 68 |
+
ecmwf: /mnt/storage_u2_4tb_a/ecmwf_nl_crop_rechunked/*_float32.zarr
|
| 69 |
+
batch_size: 32
|
| 70 |
+
num_workers: 8
|
| 71 |
+
prefetch_factor: 2
|
| 72 |
+
persistent_workers: true
|
| 73 |
+
max_num_train_samples: null
|
| 74 |
+
max_num_val_samples: null
|
| 75 |
+
pvnet_model:
|
| 76 |
+
model_id: openclimatefix-models/pvnet_nl
|
| 77 |
+
revision: de5ad0748be8952a4c0600a1ae6455bf802f5896
|
| 78 |
+
train_period:
|
| 79 |
+
- null
|
| 80 |
+
- '2023-12-31'
|
| 81 |
+
val_period:
|
| 82 |
+
- '2024-01-01'
|
| 83 |
+
- '2025-01-01'
|
| 84 |
+
seed: ${seed}
|
| 85 |
+
dataset_pickle_dir: null
|
| 86 |
+
callbacks:
|
| 87 |
+
learning_rate_monitor:
|
| 88 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 89 |
+
logging_interval: epoch
|
| 90 |
+
model_summary:
|
| 91 |
+
_target_: lightning.pytorch.callbacks.ModelSummary
|
| 92 |
+
max_depth: 3
|
| 93 |
+
model_checkpoint:
|
| 94 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 95 |
+
monitor: ${resolve_monitor_loss:${model.model.output_quantiles}}
|
| 96 |
+
mode: min
|
| 97 |
+
save_top_k: 1
|
| 98 |
+
save_last: true
|
| 99 |
+
every_n_epochs: 1
|
| 100 |
+
verbose: false
|
| 101 |
+
filename: epoch={epoch}-step={step}
|
| 102 |
+
dirpath: /home/alex/NL/callbakcs/${model_name}
|
| 103 |
+
auto_insert_metric_name: false
|
| 104 |
+
save_on_train_epoch_end: false
|
| 105 |
+
logger:
|
| 106 |
+
wandb:
|
| 107 |
+
_target_: lightning.pytorch.loggers.wandb.WandbLogger
|
| 108 |
+
project: NL-Solar
|
| 109 |
+
name: ${model_name}
|
| 110 |
+
save_dir: /home/alex/NL/wandb
|
| 111 |
+
offline: false
|
| 112 |
+
id: null
|
| 113 |
+
log_model: false
|
| 114 |
+
prefix: ''
|
| 115 |
+
job_type: train
|
| 116 |
+
group: ''
|
| 117 |
+
tags: []
|
| 118 |
+
sample_save_dir: /mnt/storage_u2_30tb_a/NL_summation_samples
|
| 119 |
+
work_dir: ${hydra:runtime.cwd}
|
| 120 |
+
model_name: v7_summation_horizon
|
| 121 |
+
seed: 2727831
|
model_config.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
_target_:
|
| 2 |
output_quantiles:
|
| 3 |
- 0.02
|
| 4 |
- 0.1
|
|
@@ -7,49 +7,26 @@ output_quantiles:
|
|
| 7 |
- 0.75
|
| 8 |
- 0.9
|
| 9 |
- 0.98
|
| 10 |
-
nwp_encoders_dict:
|
| 11 |
-
ecmwf:
|
| 12 |
-
_target_: pvnet.models.late_fusion.encoders.encoders3d.DefaultPVNet
|
| 13 |
-
_partial_: true
|
| 14 |
-
in_channels: 13
|
| 15 |
-
out_features: 64
|
| 16 |
-
fc_features: 32
|
| 17 |
-
number_of_conv3d_layers: 4
|
| 18 |
-
conv3d_channels: 32
|
| 19 |
-
image_size_pixels: 10
|
| 20 |
output_network:
|
| 21 |
_target_: pvnet.models.late_fusion.linear_networks.networks.ResFCNet
|
| 22 |
_partial_: true
|
| 23 |
-
fc_hidden_features:
|
| 24 |
-
n_res_blocks:
|
| 25 |
res_block_layers: 2
|
| 26 |
dropout_frac: 0.2
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
interval_minutes: 15
|
| 32 |
-
location_id_mapping:
|
| 33 |
-
1: 1
|
| 34 |
-
2: 2
|
| 35 |
-
3: 3
|
| 36 |
-
4: 4
|
| 37 |
-
5: 5
|
| 38 |
-
6: 6
|
| 39 |
-
7: 7
|
| 40 |
-
8: 8
|
| 41 |
-
9: 9
|
| 42 |
-
10: 10
|
| 43 |
-
11: 11
|
| 44 |
-
12: 12
|
| 45 |
-
forecast_minutes: 2160
|
| 46 |
history_minutes: 2880
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
_target_: pvnet_summation.models.horizon_dense_model.HorizonDenseModel
|
| 2 |
output_quantiles:
|
| 3 |
- 0.02
|
| 4 |
- 0.1
|
|
|
|
| 7 |
- 0.75
|
| 8 |
- 0.9
|
| 9 |
- 0.98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
output_network:
|
| 11 |
_target_: pvnet.models.late_fusion.linear_networks.networks.ResFCNet
|
| 12 |
_partial_: true
|
| 13 |
+
fc_hidden_features: 32
|
| 14 |
+
n_res_blocks: 1
|
| 15 |
res_block_layers: 2
|
| 16 |
dropout_frac: 0.2
|
| 17 |
+
predict_difference_from_sum: true
|
| 18 |
+
use_horizon_encoding: true
|
| 19 |
+
use_solar_position: true
|
| 20 |
+
force_non_crossing: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
history_minutes: 2880
|
| 22 |
+
forecast_minutes: 2160
|
| 23 |
+
interval_minutes: 15
|
| 24 |
+
num_input_locations: 12
|
| 25 |
+
input_quantiles:
|
| 26 |
+
- 0.02
|
| 27 |
+
- 0.1
|
| 28 |
+
- 0.25
|
| 29 |
+
- 0.5
|
| 30 |
+
- 0.75
|
| 31 |
+
- 0.9
|
| 32 |
+
- 0.98
|
model_weights.safetensors
CHANGED
|
@@ -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:5aa051d135bc8fa1ddbf76a8ed290ea88e8c9ae7836d0f28b89703fca025f4ce
|
| 3 |
+
size 23684
|