Skip to content

Commit 25e033d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e465747 commit 25e033d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pvnet/models/multimodal/multimodal.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,7 @@ def __init__(
196196
if wind_history_minutes is None:
197197
wind_history_minutes = history_minutes
198198

199-
self.wind_encoder = wind_encoder(
200-
sequence_length=self.history_len_30
201-
)
199+
self.wind_encoder = wind_encoder(sequence_length=self.history_len_30)
202200

203201
# Update num features
204202
fusion_input_features += self.wind_encoder.out_features

pvnet/models/multimodal/site_encoders/encoders.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ def forward(self, x):
391391

392392
return x_out
393393

394+
394395
class SinglePVAttentionNetwork(AbstractPVSitesEncoder):
395396
"""A simple attention-based model with a single multihead attention layer
396397

0 commit comments

Comments
 (0)