зеркало из https://github.com/microsoft/torchgeo.git
Bump lightning[pytorch-extra] from 2.4.0 to 2.5.0.post0 in /requirements (#2489)
* Bump lightning[pytorch-extra] from 2.4.0 to 2.5.0.post0 in /requirements Bumps [lightning[pytorch-extra]](https://github.com/Lightning-AI/lightning) from 2.4.0 to 2.5.0.post0. - [Release notes](https://github.com/Lightning-AI/lightning/releases) - [Commits](https://github.com/Lightning-AI/lightning/compare/2.4.0...2.5.0.post0) --- updated-dependencies: - dependency-name: lightning[pytorch-extra] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Small type changes * Ignore undocumented type --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Родитель
6e6644e94e
Коммит
04cc115d38
|
@ -59,6 +59,8 @@ nitpick_ignore = [
|
|||
('py:class', 'fiona.model.Feature'),
|
||||
('py:class', 'kornia.augmentation._2d.intensity.base.IntensityAugmentationBase2D'),
|
||||
('py:class', 'kornia.augmentation.base._AugmentationBase'),
|
||||
('py:class', 'lightning.pytorch.utilities.types.LRSchedulerConfig'),
|
||||
('py:class', 'lightning.pytorch.utilities.types.OptimizerConfig'),
|
||||
('py:class', 'lightning.pytorch.utilities.types.OptimizerLRSchedulerConfig'),
|
||||
('py:class', 'segmentation_models_pytorch.base.model.SegmentationModel'),
|
||||
('py:class', 'timm.models.resnet.ResNet'),
|
||||
|
|
|
@ -49,7 +49,7 @@ dependencies = [
|
|||
# lightning 2+ required for LightningCLI args + sys.argv support
|
||||
# lightning 2.3 contains known bugs related to YAML parsing
|
||||
# https://github.com/Lightning-AI/pytorch-lightning/issues/19977
|
||||
"lightning[pytorch-extra]>=2,!=2.3.*",
|
||||
"lightning[pytorch-extra]>=2,!=2.3.*,!=2.5.0",
|
||||
# matplotlib 3.5+ required for Python 3.10 wheels
|
||||
"matplotlib>=3.5",
|
||||
# numpy 1.21.2+ required by Python 3.10 wheels
|
||||
|
|
|
@ -6,7 +6,7 @@ einops==0.8.0
|
|||
fiona==1.10.1
|
||||
kornia==0.7.4
|
||||
lightly==1.5.15
|
||||
lightning[pytorch-extra]==2.4.0
|
||||
lightning[pytorch-extra]==2.5.0.post0
|
||||
matplotlib==3.10.0
|
||||
numpy==2.2.1
|
||||
pandas==2.2.3
|
||||
|
|
|
@ -55,7 +55,7 @@ class BaseTask(LightningModule, ABC):
|
|||
|
||||
def configure_optimizers(
|
||||
self,
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRSchedulerConfig':
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRScheduler':
|
||||
"""Initialize the optimizer and learning rate scheduler.
|
||||
|
||||
Returns:
|
||||
|
|
|
@ -24,7 +24,7 @@ class IOBenchTask(BaseTask):
|
|||
|
||||
def configure_optimizers(
|
||||
self,
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRSchedulerConfig':
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRScheduler':
|
||||
"""Initialize the optimizer.
|
||||
|
||||
Returns:
|
||||
|
|
|
@ -293,7 +293,7 @@ class MoCoTask(BaseTask):
|
|||
|
||||
def configure_optimizers(
|
||||
self,
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRSchedulerConfig':
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRScheduler':
|
||||
"""Initialize the optimizer and learning rate scheduler.
|
||||
|
||||
Returns:
|
||||
|
|
|
@ -286,7 +286,7 @@ class SimCLRTask(BaseTask):
|
|||
|
||||
def configure_optimizers(
|
||||
self,
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRSchedulerConfig':
|
||||
) -> 'lightning.pytorch.utilities.types.OptimizerLRScheduler':
|
||||
"""Initialize the optimizer and learning rate scheduler.
|
||||
|
||||
.. versionchanged:: 0.6
|
||||
|
|
Загрузка…
Ссылка в новой задаче