2021-09-13 16:38:23 -07:00
|
|
|
from .beit import *
|
2021-04-12 09:38:02 -07:00
|
|
|
from .byoanet import *
|
2021-02-09 16:21:47 -08:00
|
|
|
from .byobnet import *
|
2021-05-04 11:19:15 -07:00
|
|
|
from .cait import *
|
2021-04-24 18:22:59 +05:30
|
|
|
from .coat import *
|
2021-05-20 23:17:28 +00:00
|
|
|
from .convit import *
|
2021-10-09 21:09:51 -04:00
|
|
|
from .convmixer import *
|
2022-01-12 23:05:41 -08:00
|
|
|
from .convnext import *
|
2021-09-13 11:49:54 -07:00
|
|
|
from .crossvit import *
|
2020-07-27 11:15:07 -07:00
|
|
|
from .cspnet import *
|
2022-12-06 17:19:25 -08:00
|
|
|
from .davit import *
|
2022-01-26 22:53:57 -08:00
|
|
|
from .deit import *
|
2019-06-23 18:22:16 -07:00
|
|
|
from .densenet import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .dla import *
|
2019-06-23 18:22:16 -07:00
|
|
|
from .dpn import *
|
2022-07-01 15:16:41 -07:00
|
|
|
from .edgenext import *
|
2022-08-17 14:08:53 -07:00
|
|
|
from .efficientformer import *
|
2023-02-03 14:12:29 -08:00
|
|
|
from .efficientformer_v2 import *
|
2019-11-28 16:55:36 -08:00
|
|
|
from .efficientnet import *
|
2023-03-27 17:14:58 -07:00
|
|
|
from .eva import *
|
2023-01-09 16:18:19 -08:00
|
|
|
from .focalnet import *
|
2022-08-17 14:29:18 -07:00
|
|
|
from .gcvit import *
|
2021-04-07 22:51:15 +08:00
|
|
|
from .ghostnet import *
|
2019-06-23 18:22:16 -07:00
|
|
|
from .gluon_resnet import *
|
2019-08-10 13:52:01 -07:00
|
|
|
from .gluon_xception import *
|
2021-03-29 11:33:08 -07:00
|
|
|
from .hardcorenas import *
|
2019-11-25 22:34:04 -08:00
|
|
|
from .hrnet import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .inception_resnet_v2 import *
|
|
|
|
from .inception_v3 import *
|
|
|
|
from .inception_v4 import *
|
2021-05-14 17:10:43 -07:00
|
|
|
from .levit import *
|
2022-08-22 17:42:10 -07:00
|
|
|
from .maxxvit import *
|
2021-05-05 00:59:45 -07:00
|
|
|
from .mlp_mixer import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .mobilenetv3 import *
|
2022-01-31 15:38:32 -08:00
|
|
|
from .mobilevit import *
|
2022-08-17 15:12:31 -07:00
|
|
|
from .mvitv2 import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .nasnet import *
|
2021-06-24 21:02:13 +01:00
|
|
|
from .nest import *
|
2021-01-27 22:06:57 -08:00
|
|
|
from .nfnet import *
|
2021-03-31 18:20:14 -07:00
|
|
|
from .pit import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .pnasnet import *
|
2022-02-28 13:56:23 -08:00
|
|
|
from .poolformer import *
|
2022-08-17 12:06:05 -07:00
|
|
|
from .pvt_v2 import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .regnet import *
|
|
|
|
from .res2net import *
|
|
|
|
from .resnest import *
|
|
|
|
from .resnet import *
|
2020-12-24 12:03:31 -08:00
|
|
|
from .resnetv2 import *
|
2020-07-23 10:28:57 -07:00
|
|
|
from .rexnet import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .selecsls import *
|
|
|
|
from .senet import *
|
2022-05-05 23:22:40 +09:00
|
|
|
from .sequencer import *
|
2020-01-26 11:23:39 -08:00
|
|
|
from .sknet import *
|
2021-04-13 12:17:21 -07:00
|
|
|
from .swin_transformer import *
|
2022-05-12 15:01:23 -07:00
|
|
|
from .swin_transformer_v2 import *
|
2022-02-23 17:28:52 -08:00
|
|
|
from .swin_transformer_v2_cr import *
|
2021-03-29 11:33:08 -07:00
|
|
|
from .tnt import *
|
2020-04-12 18:44:12 +03:00
|
|
|
from .tresnet import *
|
2021-09-13 11:49:54 -07:00
|
|
|
from .twins import *
|
2021-02-09 16:21:47 -08:00
|
|
|
from .vgg import *
|
2021-05-14 17:10:43 -07:00
|
|
|
from .visformer import *
|
2020-10-13 13:33:44 -07:00
|
|
|
from .vision_transformer import *
|
2021-04-01 12:15:34 -07:00
|
|
|
from .vision_transformer_hybrid import *
|
2022-05-02 15:37:39 -07:00
|
|
|
from .vision_transformer_relpos import *
|
2022-02-28 13:56:23 -08:00
|
|
|
from .volo import *
|
Monster commit, activation refactor, VoVNet, norm_act improvements, more
* refactor activations into basic PyTorch, jit scripted, and memory efficient custom auto
* implement hard-mish, better grad for hard-swish
* add initial VovNet V1/V2 impl, fix #151
* VovNet and DenseNet first models to use NormAct layers (support BatchNormAct2d, EvoNorm, InplaceIABN)
* Wrap IABN for any models that use it
* make more models torchscript compatible (DPN, PNasNet, Res2Net, SelecSLS) and add tests
2020-06-01 16:59:51 -07:00
|
|
|
from .vovnet import *
|
2020-07-03 00:41:30 -07:00
|
|
|
from .xception import *
|
|
|
|
from .xception_aligned import *
|
2021-07-08 21:05:44 +01:00
|
|
|
from .xcit import *
|
2019-06-23 18:22:16 -07:00
|
|
|
|
2022-12-06 15:00:06 -08:00
|
|
|
from ._builder import build_model_with_cfg, load_pretrained, load_custom_pretrained, resolve_pretrained_cfg, \
|
|
|
|
set_pretrained_download_progress, set_pretrained_check_hash
|
|
|
|
from ._factory import create_model, parse_model_name, safe_model_name
|
|
|
|
from ._features import FeatureInfo, FeatureHooks, FeatureHookNet, FeatureListNet, FeatureDictNet
|
|
|
|
from ._features_fx import FeatureGraphNet, GraphExtractNet, create_feature_extractor, \
|
2023-03-15 23:21:51 -07:00
|
|
|
register_notrace_module, is_notrace_module, get_notrace_modules, \
|
|
|
|
register_notrace_function, is_notrace_function, get_notrace_functions
|
2023-03-18 14:55:09 -07:00
|
|
|
from ._helpers import clean_state_dict, load_state_dict, load_checkpoint, remap_state_dict, resume_checkpoint
|
2022-12-06 15:00:06 -08:00
|
|
|
from ._hub import load_model_config_from_hf, load_state_dict_from_hf, push_to_hf_hub
|
|
|
|
from ._manipulate import model_parameters, named_apply, named_modules, named_modules_with_params, \
|
|
|
|
group_modules, group_parameters, checkpoint_seq, adapt_input_conv
|
2023-03-18 14:55:09 -07:00
|
|
|
from ._pretrained import PretrainedCfg, DefaultCfg, filter_pretrained_cfg
|
2022-12-06 15:00:06 -08:00
|
|
|
from ._prune import adapt_model_from_string
|
2023-03-18 14:55:09 -07:00
|
|
|
from ._registry import split_model_name_tag, get_arch_name, generate_default_cfgs, register_model, \
|
|
|
|
register_model_deprecations, model_entrypoint, list_models, list_pretrained, get_deprecated_models, \
|
|
|
|
is_model, list_modules, is_model_in_modules, is_model_pretrained, get_pretrained_cfg, get_pretrained_cfg_value
|