PVNet 4.1.8__tar.gz → 4.1.9__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-4.1.8 → pvnet-4.1.9}/PKG-INFO +1 -1
- {pvnet-4.1.8 → pvnet-4.1.9}/PVNet.egg-info/PKG-INFO +1 -1
- pvnet-4.1.9/pvnet/__init__.py +2 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/multimodal.py +1 -1
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/unimodal_teacher.py +1 -1
- pvnet-4.1.8/pvnet/__init__.py +0 -2
- {pvnet-4.1.8 → pvnet-4.1.9}/LICENSE +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/MANIFEST.in +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/PVNet.egg-info/SOURCES.txt +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/PVNet.egg-info/dependency_links.txt +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/PVNet.egg-info/requires.txt +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/PVNet.egg-info/top_level.txt +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/README.md +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/callbacks.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/data/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/data/base_datamodule.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/data/site_datamodule.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/data/uk_regional_datamodule.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/load_model.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/base_model.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/baseline/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/baseline/last_value.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/baseline/single_value.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/ensemble.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/model_cards/pv_india_model_card_template.md +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/model_cards/pv_uk_regional_model_card_template.md +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/model_cards/wind_india_model_card_template.md +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/basic_blocks.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/encoders/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/encoders/basic_blocks.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/encoders/encoders2d.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/encoders/encoders3d.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/encoders/encodersRNN.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/linear_networks/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/linear_networks/basic_blocks.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/linear_networks/networks.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/multimodal_base.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/site_encoders/__init__.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/site_encoders/basic_blocks.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/multimodal/site_encoders/encoders.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/models/utils.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/optimizers.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/training.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pvnet/utils.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/pyproject.toml +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/setup.cfg +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/tests/test_end2end.py +0 -0
- {pvnet-4.1.8 → pvnet-4.1.9}/tests/test_utils.py +0 -0
|
@@ -152,7 +152,7 @@ class Model(MultimodalBaseModel):
|
|
|
152
152
|
self.use_id_embedding = location_id_mapping is not None
|
|
153
153
|
|
|
154
154
|
if self.use_id_embedding:
|
|
155
|
-
num_embeddings = max(location_id_mapping.values())
|
|
155
|
+
num_embeddings = max(location_id_mapping.values()) + 1
|
|
156
156
|
|
|
157
157
|
super().__init__(
|
|
158
158
|
history_minutes=history_minutes,
|
|
@@ -106,7 +106,7 @@ class Model(MultimodalBaseModel):
|
|
|
106
106
|
self.use_id_embedding = location_id_mapping is not None
|
|
107
107
|
|
|
108
108
|
if self.use_id_embedding:
|
|
109
|
-
num_embeddings = max(location_id_mapping.values())
|
|
109
|
+
num_embeddings = max(location_id_mapping.values()) + 1
|
|
110
110
|
|
|
111
111
|
# This is set but modified later based on the teachers
|
|
112
112
|
self.add_image_embedding_channel = False
|
pvnet-4.1.8/pvnet/__init__.py
DELETED
|
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
|
|
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
|