From 86ae9169c550a07990103c4b9087fbc3932dd193 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jul 2023 10:53:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvnet_summation/data/datamodule.py | 2 +- pvnet_summation/models/model.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pvnet_summation/data/datamodule.py b/pvnet_summation/data/datamodule.py index 0f5f0e5..c8a92a3 100644 --- a/pvnet_summation/data/datamodule.py +++ b/pvnet_summation/data/datamodule.py @@ -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): diff --git a/pvnet_summation/models/model.py b/pvnet_summation/models/model.py index 5256be8..42b426f 100644 --- a/pvnet_summation/models/model.py +++ b/pvnet_summation/models/model.py @@ -13,7 +13,6 @@ from pvnet_summation.models.base_model import BaseModel - _default_optimizer = pvnet.optimizers.Adam() @@ -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()