PVNet 3.0.53__tar.gz → 3.0.55__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-3.0.53 → pvnet-3.0.55}/PKG-INFO +1 -1
- {pvnet-3.0.53 → pvnet-3.0.55}/PVNet.egg-info/PKG-INFO +1 -1
- pvnet-3.0.55/pvnet/__init__.py +2 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/base_model.py +2 -2
- pvnet-3.0.53/pvnet/__init__.py +0 -2
- {pvnet-3.0.53 → pvnet-3.0.55}/LICENSE +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/MANIFEST.in +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/PVNet.egg-info/SOURCES.txt +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/PVNet.egg-info/dependency_links.txt +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/PVNet.egg-info/requires.txt +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/PVNet.egg-info/top_level.txt +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/README.md +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/callbacks.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/data/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/data/base.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/data/datamodule.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/data/pv_site_datamodule.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/data/utils.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/data/wind_datamodule.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/load_model.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/baseline/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/baseline/last_value.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/baseline/single_value.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/ensemble.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/basic_blocks.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/encoders/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/encoders/basic_blocks.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/encoders/encoders2d.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/encoders/encoders3d.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/encoders/encodersRNN.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/linear_networks/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/linear_networks/basic_blocks.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/linear_networks/networks.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/multimodal.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/multimodal_base.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/site_encoders/__init__.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/site_encoders/basic_blocks.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/site_encoders/encoders.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/multimodal/unimodal_teacher.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/models/utils.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/optimizers.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/training.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pvnet/utils.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/pyproject.toml +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/setup.cfg +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/tests/test_end2end.py +0 -0
- {pvnet-3.0.53 → pvnet-3.0.55}/tests/test_utils.py +0 -0
|
@@ -13,7 +13,7 @@ import torch
|
|
|
13
13
|
import torch.nn.functional as F
|
|
14
14
|
import wandb
|
|
15
15
|
import yaml
|
|
16
|
-
from huggingface_hub import ModelCard, ModelCardData
|
|
16
|
+
from huggingface_hub import ModelCard, ModelCardData, PyTorchModelHubMixin
|
|
17
17
|
from huggingface_hub.constants import CONFIG_NAME, PYTORCH_WEIGHTS_NAME
|
|
18
18
|
from huggingface_hub.file_download import hf_hub_download
|
|
19
19
|
from huggingface_hub.hf_api import HfApi
|
|
@@ -140,7 +140,7 @@ def minimize_data_config(input_path, output_path, model):
|
|
|
140
140
|
yaml.dump(config, outfile, default_flow_style=False)
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
class PVNetModelHubMixin:
|
|
143
|
+
class PVNetModelHubMixin(PyTorchModelHubMixin):
|
|
144
144
|
"""
|
|
145
145
|
Implementation of [`PyTorchModelHubMixin`] to provide model Hub upload/download capabilities.
|
|
146
146
|
"""
|
pvnet-3.0.53/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
|