From 17285c7163849aaa0afd52dfb5c5d763cc003533 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 13:16:25 +0000 Subject: [PATCH 1/2] Bump timm from 1.0.13 to 1.0.14 in /requirements Bumps [timm](https://github.com/huggingface/pytorch-image-models) from 1.0.13 to 1.0.14. - [Release notes](https://github.com/huggingface/pytorch-image-models/releases) - [Commits](https://github.com/huggingface/pytorch-image-models/compare/v1.0.13...v1.0.14) --- updated-dependencies: - dependency-name: timm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements/required.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/required.txt b/requirements/required.txt index bf505abe5c2..dd485b2e934 100644 --- a/requirements/required.txt +++ b/requirements/required.txt @@ -16,7 +16,7 @@ rasterio==1.4.3 rtree==1.3.0 segmentation-models-pytorch==0.4.0 shapely==2.0.6 -timm==1.0.13 +timm==1.0.14 torch==2.5.1 torchmetrics==1.6.1 torchvision==0.20.1 From 32add0691145f9192fcf25c78198eeffd0df7d13 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 20 Jan 2025 15:50:22 +0100 Subject: [PATCH 2/2] Remove unused ignore --- torchgeo/models/dofa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchgeo/models/dofa.py b/torchgeo/models/dofa.py index 8785de00488..7184429aff7 100644 --- a/torchgeo/models/dofa.py +++ b/torchgeo/models/dofa.py @@ -311,7 +311,7 @@ def __init__( num_heads, mlp_ratio, qkv_bias=True, - norm_layer=norm_layer, # type: ignore[arg-type] + norm_layer=norm_layer, ) for i in range(depth) ]