File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -624,6 +624,7 @@ def _cfg(url='', **kwargs):
624
624
'classifier' : 'head.fc' ,
625
625
'fixed_input_size' : True ,
626
626
'pool_size' : None ,
627
+ 'input_size' : (3 , 224 , 224 ),
627
628
** kwargs ,
628
629
}
629
630
@@ -660,10 +661,12 @@ def _cfg(url='', **kwargs):
660
661
url = 'https://github.com/wkcn/TinyViT-model-zoo/releases/download/checkpoints/tiny_vit_21m_1k.pth'
661
662
),
662
663
'tiny_vit_21m_384.dist_in22k_ft_in1k' : _cfg (
663
- url = 'https://github.com/wkcn/TinyViT-model-zoo/releases/download/checkpoints/tiny_vit_21m_22kto1k_384_distill.pth'
664
+ url = 'https://github.com/wkcn/TinyViT-model-zoo/releases/download/checkpoints/tiny_vit_21m_22kto1k_384_distill.pth' ,
665
+ input_size = (3 , 384 , 384 )
664
666
),
665
667
'tiny_vit_21m_512.dist_in22k_ft_in1k' : _cfg (
666
- url = 'https://github.com/wkcn/TinyViT-model-zoo/releases/download/checkpoints/tiny_vit_21m_22kto1k_512_distill.pth'
668
+ url = 'https://github.com/wkcn/TinyViT-model-zoo/releases/download/checkpoints/tiny_vit_21m_22kto1k_512_distill.pth' ,
669
+ input_size = (3 , 512 , 512 )
667
670
),
668
671
})
669
672
You can’t perform that action at this time.
0 commit comments