Merge pull request #2223 from stes/patch-1

Fix typo in type annotations in timm.models.hrnet
This commit is contained in:
Ross Wightman 2024-07-08 07:34:47 -07:00 committed by GitHub
commit 648aaa4123
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -834,7 +834,7 @@ class HighResolutionNetFeatures(HighResolutionNet):
def forward_features(self, x):
assert False, 'Not supported'
def forward(self, x) -> List[torch.tensor]:
def forward(self, x) -> List[torch.Tensor]:
out = []
x = self.conv1(x)
x = self.bn1(x)