PVNet 3.0.47__tar.gz → 3.0.49__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 (49) hide show
  1. {pvnet-3.0.47 → pvnet-3.0.49}/PKG-INFO +3 -3
  2. {pvnet-3.0.47 → pvnet-3.0.49}/PVNet.egg-info/PKG-INFO +3 -3
  3. {pvnet-3.0.47 → pvnet-3.0.49}/PVNet.egg-info/requires.txt +1 -1
  4. {pvnet-3.0.47 → pvnet-3.0.49}/README.md +1 -1
  5. pvnet-3.0.49/pvnet/__init__.py +2 -0
  6. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/linear_networks/networks.py +2 -1
  7. {pvnet-3.0.47 → pvnet-3.0.49}/pyproject.toml +1 -1
  8. pvnet-3.0.47/pvnet/__init__.py +0 -2
  9. {pvnet-3.0.47 → pvnet-3.0.49}/LICENSE +0 -0
  10. {pvnet-3.0.47 → pvnet-3.0.49}/MANIFEST.in +0 -0
  11. {pvnet-3.0.47 → pvnet-3.0.49}/PVNet.egg-info/SOURCES.txt +0 -0
  12. {pvnet-3.0.47 → pvnet-3.0.49}/PVNet.egg-info/dependency_links.txt +0 -0
  13. {pvnet-3.0.47 → pvnet-3.0.49}/PVNet.egg-info/top_level.txt +0 -0
  14. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/callbacks.py +0 -0
  15. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/data/__init__.py +0 -0
  16. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/data/base.py +0 -0
  17. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/data/datamodule.py +0 -0
  18. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/data/pv_site_datamodule.py +0 -0
  19. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/data/utils.py +0 -0
  20. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/data/wind_datamodule.py +0 -0
  21. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/load_model.py +0 -0
  22. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/__init__.py +0 -0
  23. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/base_model.py +0 -0
  24. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/baseline/__init__.py +0 -0
  25. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/baseline/last_value.py +0 -0
  26. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/baseline/single_value.py +0 -0
  27. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/ensemble.py +0 -0
  28. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/__init__.py +0 -0
  29. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/basic_blocks.py +0 -0
  30. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/encoders/__init__.py +0 -0
  31. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/encoders/basic_blocks.py +0 -0
  32. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/encoders/encoders2d.py +0 -0
  33. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/encoders/encoders3d.py +0 -0
  34. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/encoders/encodersRNN.py +0 -0
  35. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/linear_networks/__init__.py +0 -0
  36. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/linear_networks/basic_blocks.py +0 -0
  37. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/multimodal.py +0 -0
  38. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/multimodal_base.py +0 -0
  39. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/site_encoders/__init__.py +0 -0
  40. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/site_encoders/basic_blocks.py +0 -0
  41. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/site_encoders/encoders.py +0 -0
  42. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/multimodal/unimodal_teacher.py +0 -0
  43. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/models/utils.py +0 -0
  44. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/optimizers.py +0 -0
  45. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/training.py +0 -0
  46. {pvnet-3.0.47 → pvnet-3.0.49}/pvnet/utils.py +0 -0
  47. {pvnet-3.0.47 → pvnet-3.0.49}/setup.cfg +0 -0
  48. {pvnet-3.0.47 → pvnet-3.0.49}/tests/test_end2end.py +0 -0
  49. {pvnet-3.0.47 → pvnet-3.0.49}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PVNet
3
- Version: 3.0.47
3
+ Version: 3.0.49
4
4
  Summary: PVNet
5
5
  Author-email: Peter Dudfield <info@openclimatefix.org>
6
6
  Description-Content-Type: text/markdown
@@ -14,7 +14,7 @@ Requires-Dist: xarray
14
14
  Requires-Dist: ipykernel
15
15
  Requires-Dist: h5netcdf
16
16
  Requires-Dist: torch>=2.0.0
17
- Requires-Dist: lightning>=2.0.1
17
+ Requires-Dist: lightning
18
18
  Requires-Dist: torchvision
19
19
  Requires-Dist: pytest
20
20
  Requires-Dist: pytest-cov
@@ -149,7 +149,7 @@ conda create -n ocf_datapipes python=3.10
149
149
  Then go inside the ocf_datapipes repo to add packages
150
150
 
151
151
  ```bash
152
- pip install ".[dev]"
152
+ pip install -r requirements.txt -r requirements-dev.txt
153
153
  ```
154
154
 
155
155
  Then exit this environment, and enter back into the pvnet conda environment and install ocf_datapies in editable mode (-e). This means the package is directly linked to the source code in the ocf_datapies repo.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PVNet
3
- Version: 3.0.47
3
+ Version: 3.0.49
4
4
  Summary: PVNet
5
5
  Author-email: Peter Dudfield <info@openclimatefix.org>
6
6
  Description-Content-Type: text/markdown
@@ -14,7 +14,7 @@ Requires-Dist: xarray
14
14
  Requires-Dist: ipykernel
15
15
  Requires-Dist: h5netcdf
16
16
  Requires-Dist: torch>=2.0.0
17
- Requires-Dist: lightning>=2.0.1
17
+ Requires-Dist: lightning
18
18
  Requires-Dist: torchvision
19
19
  Requires-Dist: pytest
20
20
  Requires-Dist: pytest-cov
@@ -149,7 +149,7 @@ conda create -n ocf_datapipes python=3.10
149
149
  Then go inside the ocf_datapipes repo to add packages
150
150
 
151
151
  ```bash
152
- pip install ".[dev]"
152
+ pip install -r requirements.txt -r requirements-dev.txt
153
153
  ```
154
154
 
155
155
  Then exit this environment, and enter back into the pvnet conda environment and install ocf_datapies in editable mode (-e). This means the package is directly linked to the source code in the ocf_datapies repo.
@@ -7,7 +7,7 @@ xarray
7
7
  ipykernel
8
8
  h5netcdf
9
9
  torch>=2.0.0
10
- lightning>=2.0.1
10
+ lightning
11
11
  torchvision
12
12
  pytest
13
13
  pytest-cov
@@ -101,7 +101,7 @@ conda create -n ocf_datapipes python=3.10
101
101
  Then go inside the ocf_datapipes repo to add packages
102
102
 
103
103
  ```bash
104
- pip install ".[dev]"
104
+ pip install -r requirements.txt -r requirements-dev.txt
105
105
  ```
106
106
 
107
107
  Then exit this environment, and enter back into the pvnet conda environment and install ocf_datapies in editable mode (-e). This means the package is directly linked to the source code in the ocf_datapies repo.
@@ -0,0 +1,2 @@
1
+ """PVNet"""
2
+ __version__ = "3.0.49"
@@ -1,5 +1,5 @@
1
1
  """Linear networks used for the fusion model"""
2
- from torch import nn
2
+ from torch import nn, rand
3
3
 
4
4
  from pvnet.models.multimodal.linear_networks.basic_blocks import (
5
5
  AbstractLinearNetwork,
@@ -316,6 +316,7 @@ class TabNet(AbstractLinearNetwork):
316
316
  virtual_batch_size=virtual_batch_size,
317
317
  momentum=momentum,
318
318
  mask_type=mask_type,
319
+ group_attention_matrix=rand(4, in_features),
319
320
  )
320
321
 
321
322
  self.activation = nn.LeakyReLU(negative_slope=0.01)
@@ -15,7 +15,7 @@ dependencies = [
15
15
  "ipykernel",
16
16
  "h5netcdf",
17
17
  "torch>=2.0.0",
18
- "lightning>=2.0.1",
18
+ "lightning",
19
19
  "torchvision",
20
20
  "pytest",
21
21
  "pytest-cov",
@@ -1,2 +0,0 @@
1
- """PVNet"""
2
- __version__ = "3.0.47"
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