PVNet 5.3.20__tar.gz → 5.3.21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pvnet-5.3.20 → pvnet-5.3.21}/PKG-INFO +1 -1
- {pvnet-5.3.20 → pvnet-5.3.21}/PVNet.egg-info/PKG-INFO +1 -1
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/training/lightning_module.py +3 -1
- {pvnet-5.3.20 → pvnet-5.3.21}/LICENSE +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/PVNet.egg-info/SOURCES.txt +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/PVNet.egg-info/dependency_links.txt +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/PVNet.egg-info/requires.txt +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/PVNet.egg-info/top_level.txt +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/README.md +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/datamodule.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/load_model.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/base_model.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/ensemble.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/basic_blocks.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/encoders/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/encoders/basic_blocks.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/encoders/encoders3d.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/late_fusion.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/linear_networks/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/linear_networks/basic_blocks.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/linear_networks/networks.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/site_encoders/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/site_encoders/basic_blocks.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/models/late_fusion/site_encoders/encoders.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/optimizers.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/training/__init__.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/training/plots.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/training/train.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pvnet/utils.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/pyproject.toml +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/setup.cfg +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/tests/test_datamodule.py +0 -0
- {pvnet-5.3.20 → pvnet-5.3.21}/tests/test_end2end.py +0 -0
|
@@ -153,7 +153,9 @@ class PVNetLightningModule(pl.LightningModule):
|
|
|
153
153
|
"""Internally store the validation predictions"""
|
|
154
154
|
|
|
155
155
|
y = batch["generation"][:, -self.model.forecast_len :].cpu().numpy()
|
|
156
|
-
|
|
156
|
+
# .float() as numpy has no bfloat16 dtype
|
|
157
|
+
# Fails under precision="bf16-mixed"
|
|
158
|
+
y_hat = y_hat.float().cpu().numpy()
|
|
157
159
|
ids = batch["location_id"].cpu().numpy()
|
|
158
160
|
init_times_utc = pd.to_datetime(
|
|
159
161
|
batch["time_utc"][:, self.model.history_len + 1].cpu().numpy().astype("datetime64[ns]")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|