-
Notifications
You must be signed in to change notification settings - Fork 13
/
hubconf.py
31 lines (16 loc) · 1.13 KB
/
hubconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
dependencies = ['torch', 'numpy']
from efficientnetv2 import get_efficientnet_v2
def efficientnet_v2_s(pretrained=False, nclass=1000, **kwargs):
return get_efficientnet_v2('efficientnet_v2_s', pretrained, nclass, **kwargs)
def efficientnet_v2_m(pretrained=False, nclass=1000, **kwargs):
return get_efficientnet_v2('efficientnet_v2_m', pretrained, nclass, **kwargs)
def efficientnet_v2_l(pretrained=False, nclass=1000, **kwargs):
return get_efficientnet_v2('efficientnet_v2_l', pretrained, nclass, **kwargs)
def efficientnet_v2_s_in21k(pretrained=False, nclass=21843, **kwargs):
return get_efficientnet_v2('efficientnet_v2_s_in21k', pretrained, nclass, **kwargs)
def efficientnet_v2_m_in21k(pretrained=False, nclass=21843, **kwargs):
return get_efficientnet_v2('efficientnet_v2_m_in21k', pretrained, nclass, **kwargs)
def efficientnet_v2_l_in21k(pretrained=False, nclass=21843, **kwargs):
return get_efficientnet_v2('efficientnet_v2_l_in21k', pretrained, nclass, **kwargs)
def efficientnet_v2_xl_in21k(pretrained=False, nclass=21843, **kwargs):
return get_efficientnet_v2('efficientnet_v2_xl_in21k', pretrained, nclass)