mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Fix typo in type annotations in timm.models.hrnet
This commit is contained in:
parent
20fe56bd90
commit
c01a47c9e7
@ -834,7 +834,7 @@ class HighResolutionNetFeatures(HighResolutionNet):
|
|||||||
def forward_features(self, x):
|
def forward_features(self, x):
|
||||||
assert False, 'Not supported'
|
assert False, 'Not supported'
|
||||||
|
|
||||||
def forward(self, x) -> List[torch.tensor]:
|
def forward(self, x) -> List[torch.Tensor]:
|
||||||
out = []
|
out = []
|
||||||
x = self.conv1(x)
|
x = self.conv1(x)
|
||||||
x = self.bn1(x)
|
x = self.bn1(x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user