From d48590c08bc07d5cae5e8d26b687b91e95f5dea3 Mon Sep 17 00:00:00 2001 From: Jacob Bieker Date: Tue, 5 Dec 2023 10:42:14 +0000 Subject: [PATCH] Hard code sequence length --- pvnet/models/multimodal/multimodal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvnet/models/multimodal/multimodal.py b/pvnet/models/multimodal/multimodal.py index 0bf4f3ff..c828e9b6 100644 --- a/pvnet/models/multimodal/multimodal.py +++ b/pvnet/models/multimodal/multimodal.py @@ -139,7 +139,7 @@ def __init__( nwp_history_minutes = history_minutes if nwp_forecast_minutes is None: nwp_forecast_minutes = forecast_minutes - nwp_sequence_len = nwp_history_minutes // 60 + nwp_forecast_minutes // 60 + 1 + nwp_sequence_len = 10 # TODO Fix = nwp_history_minutes // 60 + nwp_forecast_minutes // 60 + 1 self.nwp_encoder = nwp_encoder( sequence_length=nwp_sequence_len,