From 7ccc7d82536294d3da0bb907f13f3b97a5b4630b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 15:08:27 +0000 Subject: [PATCH] Bump timm from 1.0.13 to 1.0.14 in /requirements (#2525) 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/required.txt | 2 +- torchgeo/models/dofa.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/required.txt b/requirements/required.txt index 51dbb0f1037..2496881a014 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 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) ]