Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 8, 2024
1 parent 0a10da2 commit 74aae2b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pvnet/models/multimodal/multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,11 @@ def forward(self, x):

if self.include_sun:
sun = torch.cat(
(x[BatchKey[f"{self.target_key_name}_solar_azimuth"]], x[BatchKey[f"{self.target_key_name}_solar_elevation"]]), dim=1
(
x[BatchKey[f"{self.target_key_name}_solar_azimuth"]],
x[BatchKey[f"{self.target_key_name}_solar_elevation"]],
),
dim=1,
).float()
sun = self.sun_fc1(sun)
modes["sun"] = sun
Expand Down

0 comments on commit 74aae2b

Please sign in to comment.