PVNet 4.0.1__tar.gz → 4.0.2__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.
Files changed (50) hide show
  1. {pvnet-4.0.1 → pvnet-4.0.2}/PKG-INFO +5 -3
  2. {pvnet-4.0.1 → pvnet-4.0.2}/PVNet.egg-info/PKG-INFO +5 -3
  3. {pvnet-4.0.1 → pvnet-4.0.2}/PVNet.egg-info/requires.txt +1 -1
  4. {pvnet-4.0.1 → pvnet-4.0.2}/README.md +3 -1
  5. pvnet-4.0.2/pvnet/__init__.py +2 -0
  6. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/base_model.py +1 -1
  7. {pvnet-4.0.1 → pvnet-4.0.2}/pyproject.toml +1 -1
  8. pvnet-4.0.1/pvnet/__init__.py +0 -2
  9. {pvnet-4.0.1 → pvnet-4.0.2}/LICENSE +0 -0
  10. {pvnet-4.0.1 → pvnet-4.0.2}/MANIFEST.in +0 -0
  11. {pvnet-4.0.1 → pvnet-4.0.2}/PVNet.egg-info/SOURCES.txt +0 -0
  12. {pvnet-4.0.1 → pvnet-4.0.2}/PVNet.egg-info/dependency_links.txt +0 -0
  13. {pvnet-4.0.1 → pvnet-4.0.2}/PVNet.egg-info/top_level.txt +0 -0
  14. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/callbacks.py +0 -0
  15. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/data/__init__.py +0 -0
  16. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/data/base_datamodule.py +0 -0
  17. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/data/site_datamodule.py +0 -0
  18. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/data/uk_regional_datamodule.py +0 -0
  19. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/load_model.py +0 -0
  20. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/__init__.py +0 -0
  21. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/baseline/__init__.py +0 -0
  22. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/baseline/last_value.py +0 -0
  23. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/baseline/single_value.py +0 -0
  24. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/ensemble.py +0 -0
  25. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/model_cards/pv_india_model_card_template.md +0 -0
  26. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/model_cards/pv_uk_regional_model_card_template.md +0 -0
  27. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/model_cards/wind_india_model_card_template.md +0 -0
  28. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/__init__.py +0 -0
  29. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/basic_blocks.py +0 -0
  30. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/encoders/__init__.py +0 -0
  31. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/encoders/basic_blocks.py +0 -0
  32. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/encoders/encoders2d.py +0 -0
  33. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/encoders/encoders3d.py +0 -0
  34. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/encoders/encodersRNN.py +0 -0
  35. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/linear_networks/__init__.py +0 -0
  36. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/linear_networks/basic_blocks.py +0 -0
  37. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/linear_networks/networks.py +0 -0
  38. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/multimodal.py +0 -0
  39. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/multimodal_base.py +0 -0
  40. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/site_encoders/__init__.py +0 -0
  41. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/site_encoders/basic_blocks.py +0 -0
  42. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/site_encoders/encoders.py +0 -0
  43. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/multimodal/unimodal_teacher.py +0 -0
  44. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/models/utils.py +0 -0
  45. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/optimizers.py +0 -0
  46. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/training.py +0 -0
  47. {pvnet-4.0.1 → pvnet-4.0.2}/pvnet/utils.py +0 -0
  48. {pvnet-4.0.1 → pvnet-4.0.2}/setup.cfg +0 -0
  49. {pvnet-4.0.1 → pvnet-4.0.2}/tests/test_end2end.py +0 -0
  50. {pvnet-4.0.1 → pvnet-4.0.2}/tests/test_utils.py +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: PVNet
3
- Version: 4.0.1
3
+ Version: 4.0.2
4
4
  Summary: PVNet
5
5
  Author-email: Peter Dudfield <info@openclimatefix.org>
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
8
- Requires-Dist: ocf_data_sampler==0.1.7
8
+ Requires-Dist: ocf_data_sampler==0.1.11
9
9
  Requires-Dist: ocf_datapipes>=3.3.34
10
10
  Requires-Dist: ocf_ml_metrics>=0.0.11
11
11
  Requires-Dist: numpy
@@ -147,7 +147,7 @@ here: https://huggingface.co/datasets/openclimatefix/uk_pv
147
147
 
148
148
  Outside the PVNet repo, clone the ocf-data-sampler repo and exit the conda env created for PVNet: https://github.com/openclimatefix/ocf-data-sampler
149
149
  ```bash
150
- git clone --depth 1 https://github.com/openclimatefix/ocf-data-sampler.git
150
+ git clone https://github.com/openclimatefix/ocf-data-sampler.git
151
151
  conda create -n ocf-data-sampler python=3.11
152
152
  ```
153
153
 
@@ -163,6 +163,8 @@ Then exit this environment, and enter back into the pvnet conda environment and
163
163
  pip install -e <PATH-TO-ocf-data-sampler-REPO>
164
164
  ```
165
165
 
166
+ If you install the local version of `ocf-data-sampler` that is more recent than the version specified in PVNet, you might receive a warning. However, it should still function correctly.
167
+
166
168
  ## Generating pre-made batches of data for training/validation of PVNet
167
169
 
168
170
  PVNet contains a script for generating batches of data suitable for training the PVNet models. To run the script you will need to make some modifications to the datamodule configuration.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: PVNet
3
- Version: 4.0.1
3
+ Version: 4.0.2
4
4
  Summary: PVNet
5
5
  Author-email: Peter Dudfield <info@openclimatefix.org>
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
8
- Requires-Dist: ocf_data_sampler==0.1.7
8
+ Requires-Dist: ocf_data_sampler==0.1.11
9
9
  Requires-Dist: ocf_datapipes>=3.3.34
10
10
  Requires-Dist: ocf_ml_metrics>=0.0.11
11
11
  Requires-Dist: numpy
@@ -147,7 +147,7 @@ here: https://huggingface.co/datasets/openclimatefix/uk_pv
147
147
 
148
148
  Outside the PVNet repo, clone the ocf-data-sampler repo and exit the conda env created for PVNet: https://github.com/openclimatefix/ocf-data-sampler
149
149
  ```bash
150
- git clone --depth 1 https://github.com/openclimatefix/ocf-data-sampler.git
150
+ git clone https://github.com/openclimatefix/ocf-data-sampler.git
151
151
  conda create -n ocf-data-sampler python=3.11
152
152
  ```
153
153
 
@@ -163,6 +163,8 @@ Then exit this environment, and enter back into the pvnet conda environment and
163
163
  pip install -e <PATH-TO-ocf-data-sampler-REPO>
164
164
  ```
165
165
 
166
+ If you install the local version of `ocf-data-sampler` that is more recent than the version specified in PVNet, you might receive a warning. However, it should still function correctly.
167
+
166
168
  ## Generating pre-made batches of data for training/validation of PVNet
167
169
 
168
170
  PVNet contains a script for generating batches of data suitable for training the PVNet models. To run the script you will need to make some modifications to the datamodule configuration.
@@ -1,4 +1,4 @@
1
- ocf_data_sampler==0.1.7
1
+ ocf_data_sampler==0.1.11
2
2
  ocf_datapipes>=3.3.34
3
3
  ocf_ml_metrics>=0.0.11
4
4
  numpy
@@ -98,7 +98,7 @@ here: https://huggingface.co/datasets/openclimatefix/uk_pv
98
98
 
99
99
  Outside the PVNet repo, clone the ocf-data-sampler repo and exit the conda env created for PVNet: https://github.com/openclimatefix/ocf-data-sampler
100
100
  ```bash
101
- git clone --depth 1 https://github.com/openclimatefix/ocf-data-sampler.git
101
+ git clone https://github.com/openclimatefix/ocf-data-sampler.git
102
102
  conda create -n ocf-data-sampler python=3.11
103
103
  ```
104
104
 
@@ -114,6 +114,8 @@ Then exit this environment, and enter back into the pvnet conda environment and
114
114
  pip install -e <PATH-TO-ocf-data-sampler-REPO>
115
115
  ```
116
116
 
117
+ If you install the local version of `ocf-data-sampler` that is more recent than the version specified in PVNet, you might receive a warning. However, it should still function correctly.
118
+
117
119
  ## Generating pre-made batches of data for training/validation of PVNet
118
120
 
119
121
  PVNet contains a script for generating batches of data suitable for training the PVNet models. To run the script you will need to make some modifications to the datamodule configuration.
@@ -0,0 +1,2 @@
1
+ """PVNet"""
2
+ __version__ = "4.0.2"
@@ -18,7 +18,7 @@ from huggingface_hub import ModelCard, ModelCardData, PyTorchModelHubMixin
18
18
  from huggingface_hub.constants import CONFIG_NAME, PYTORCH_WEIGHTS_NAME
19
19
  from huggingface_hub.file_download import hf_hub_download
20
20
  from huggingface_hub.hf_api import HfApi
21
- from ocf_datapipes.batch import copy_batch_to_device
21
+ from ocf_data_sampler.sample.base import copy_batch_to_device
22
22
 
23
23
  from pvnet.models.utils import (
24
24
  BatchAccumulator,
@@ -6,7 +6,7 @@ dynamic = ["version", "readme"]
6
6
  license={file="LICENCE"}
7
7
 
8
8
  dependencies = [
9
- "ocf_data_sampler==0.1.7",
9
+ "ocf_data_sampler==0.1.11",
10
10
  "ocf_datapipes>=3.3.34",
11
11
  "ocf_ml_metrics>=0.0.11",
12
12
  "numpy",
@@ -1,2 +0,0 @@
1
- """PVNet"""
2
- __version__ = "4.0.1"
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