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 Jul 24, 2023
1 parent 0570769 commit 86ae916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pvnet_summation/data/datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __init__(self, **datapipes):

def __iter__(self):
for outputs in self.source_datapipes:
yield {key: value for key, value in zip(self.keys, outputs)} # noqa: B905
yield {key: value for key, value in zip(self.keys, outputs)} # noqa: B905


def get_capacity(batch):
Expand Down
3 changes: 1 addition & 2 deletions pvnet_summation/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from pvnet_summation.models.base_model import BaseModel


_default_optimizer = pvnet.optimizers.Adam()


Expand Down Expand Up @@ -54,7 +53,7 @@ def __init__(

self.scale_pvnet_outputs = scale_pvnet_outputs
self.predict_difference_from_sum = predict_difference_from_sum

if output_network_kwargs is None:
output_network_kwargs = dict()

Expand Down

0 comments on commit 86ae916

Please sign in to comment.