发布时间:2023-04-03 文章分类:电脑基础 投稿人:樱花 字号: 默认 | | 超大 打印

 ⚪查看代码:python xxx.py 

import timm
if __name__ == '__main__':
    model_vit = timm.list_models('*vit*')
    print(len(model_vit),model_vit[:])

⚪结合vision transformer理解

7 ResNets:

6 Vision Transformers: 

5 hybrids,

参数解读:

⚪ViT_model概览-28个

  1. 'vit_base_patch16_224',
  2. 'vit_base_patch16_224_in21k',
  3. 'vit_base_patch16_384',
  4. 'vit_base_patch32_224',
  5. 'vit_base_patch32_224_in21k',
  6. 'vit_base_patch32_384',
  7. 'vit_base_resnet26d_224',
  8. 'vit_base_resnet50_224_in21k',
  9. 'vit_base_resnet50_384',
  10. 'vit_base_resnet50d_224',
  11. 'vit_deit_base_distilled_patch16_224',
  12. 'vit_deit_base_distilled_patch16_384',
  13. 'vit_deit_base_patch16_224',
  14. 'vit_deit_base_patch16_384',
  15. 'vit_deit_small_distilled_patch16_224',
  16. 'vit_deit_small_patch16_224',
  17. 'vit_deit_tiny_distilled_patch16_224',
  18. 'vit_deit_tiny_patch16_224',
  19. 'vit_huge_patch14_224_in21k',
  20. 'vit_large_patch16_224',
  21. 'vit_large_patch16_224_in21k',
  22. 'vit_large_patch16_384',
  23. 'vit_large_patch32_224',
  24. 'vit_large_patch32_224_in21k',
  25. 'vit_large_patch32_384',
  26. 'vit_small_patch16_224',
  27. 'vit_small_resnet26d_224',
  28. 'vit_small_resnet50d_s3_224'

文章推荐: