|
|
|
from .beit import *
|
|
|
|
from .byoanet import *
|
|
|
|
from .byobnet import *
|
|
|
|
from .cait import *
|
|
|
|
from .coat import *
|
|
|
|
from .convit import *
|
|
|
|
from .convmixer import *
|
|
|
|
from .convnext import *
|
|
|
|
from .crossvit import *
|
|
|
|
from .cspnet import *
|
|
|
|
from .davit import *
|
|
|
|
from .deit import *
|
|
|
|
from .densenet import *
|
|
|
|
from .dla import *
|
|
|
|
from .dpn import *
|
|
|
|
from .edgenext import *
|
|
|
|
from .efficientformer import *
|
|
|
|
from .efficientformer_v2 import *
|
|
|
|
from .efficientnet import *
|
|
|
|
from .gcvit import *
|
|
|
|
from .ghostnet import *
|
|
|
|
from .gluon_resnet import *
|
|
|
|
from .gluon_xception import *
|
|
|
|
from .hardcorenas import *
|
|
|
|
from .hrnet import *
|
|
|
|
from .inception_resnet_v2 import *
|
|
|
|
from .inception_v3 import *
|
|
|
|
from .inception_v4 import *
|
|
|
|
from .levit import *
|
|
|
|
from .maxxvit import *
|
|
|
|
from .mlp_mixer import *
|
|
|
|
from .mobilenetv3 import *
|
|
|
|
from .mobilevit import *
|
|
|
|
from .mvitv2 import *
|
|
|
|
from .nasnet import *
|
|
|
|
from .nest import *
|
|
|
|
from .nfnet import *
|
|
|
|
from .pit import *
|
|
|
|
from .pnasnet import *
|
|
|
|
from .poolformer import *
|
|
|
|
from .pvt_v2 import *
|
|
|
|
from .regnet import *
|
|
|
|
from .res2net import *
|
|
|
|
from .resnest import *
|
|
|
|
from .resnet import *
|
|
|
|
from .resnetv2 import *
|
|
|
|
from .rexnet import *
|
|
|
|
from .selecsls import *
|
|
|
|
from .senet import *
|
|
|
|
from .sequencer import *
|
|
|
|
from .sknet import *
|
|
|
|
from .swin_transformer import *
|
|
|
|
from .swin_transformer_v2 import *
|
|
|
|
from .swin_transformer_v2_cr import *
|
|
|
|
from .tnt import *
|
|
|
|
from .tresnet import *
|
|
|
|
from .twins import *
|
|
|
|
from .vgg import *
|
|
|
|
from .visformer import *
|
|
|
|
from .vision_transformer import *
|
|
|
|
from .vision_transformer_hybrid import *
|
|
|
|
from .vision_transformer_relpos import *
|
|
|
|
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
5 years ago
|
|
|
from .vovnet import *
|
|
|
|
from .xception import *
|
|
|
|
from .xception_aligned import *
|
|
|
|
from .xcit import *
|
|
|
|
|
|
|
|
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, \
|
|
|
|
register_notrace_module, register_notrace_function
|
|
|
|
from ._helpers import clean_state_dict, load_state_dict, load_checkpoint, remap_checkpoint, resume_checkpoint
|
|
|
|
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
|
|
|
|
from ._pretrained import PretrainedCfg, DefaultCfg, \
|
|
|
|
filter_pretrained_cfg, generate_default_cfgs, split_model_name_tag
|
|
|
|
from ._prune import adapt_model_from_string
|
|
|
|
from ._registry import register_model, model_entrypoint, list_models, list_pretrained, is_model, list_modules, \
|
|
|
|
is_model_in_modules, is_model_pretrained, get_pretrained_cfg, get_pretrained_cfg_value
|