mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update tiny_vit.py to fix bug
This commit is contained in:
parent
a9c29a05de
commit
95ba90157f
@ -378,6 +378,7 @@ class TinyVitStage(nn.Module):
|
|||||||
|
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.depth = depth
|
self.depth = depth
|
||||||
|
self.out_dim = out_dim
|
||||||
|
|
||||||
# patch merging layer
|
# patch merging layer
|
||||||
if downsample is not None:
|
if downsample is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user