mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Merge pull request #2223 from stes/patch-1
Fix typo in type annotations in timm.models.hrnet
This commit is contained in:
commit
648aaa4123
@ -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