Skip to content

Commit 95ba901

Browse files
nhathoang0110rwightman
authored andcommitted
Update tiny_vit.py to fix bug
1 parent a9c29a0 commit 95ba901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

timm/models/tiny_vit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ def __init__(
378378

379379
super().__init__()
380380
self.depth = depth
381+
self.out_dim = out_dim
381382

382383
# patch merging layer
383384
if downsample is not None:

0 commit comments

Comments
 (0)