Fix typo in type annotations in timm.models.hrnet

This commit is contained in:
Steffen Schneider 2024-07-08 00:53:16 +02:00 committed by GitHub
parent 20fe56bd90
commit c01a47c9e7
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)