You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytorch-image-models/timm/models/layers
Ross Wightman 656757d26b
Fix MobileNetV2 head conv size for multiplier < 1.0. Add some missing modification copyrights, fix starting date of some old ones.
3 years ago
..
__init__.py Fix MobileNetV2 head conv size for multiplier < 1.0. Add some missing modification copyrights, fix starting date of some old ones. 3 years ago
activations.py Fix inplace arg compat for GELU and PreLU via activation factory 4 years ago
activations_jit.py
activations_me.py Merge pull request #282 from tigert1998/patch-1 4 years ago
adaptive_avgmax_pool.py Refactoring, cleanup, improved test coverage. 3 years ago
attention_pool2d.py Add initial AttentionPool2d that's being trialed. Fix comment and still trying to improve reliability of sgd test. 3 years ago
blur_pool.py Remove filter hack from BlurPool w/ non-persistent buffer. Use BlurPool2d instead of AntiAliasing.. for TResNet. Breaks PyTorch < 1.6. 4 years ago
bottleneck_attn.py wip - pre-rebase 3 years ago
cbam.py Add Gather-Excite and Global Context attn modules. Refactor existing SE-like attn for consistency and refactor byob/byoanet for less redundancy. 4 years ago
classifier.py Disable use of timm nn.Linear wrapper since AMP autocast + torchscript use appears fixed 3 years ago
cond_conv2d.py Initial Vision Transformer impl w/ patch and hybrid variants. Refactor tuple helpers. 4 years ago
config.py
conv2d_same.py
conv_bn_act.py Fix regression in models with 1001 class pretrained weights. Improve batchnorm arg and BatchNormAct layer handling in several models. 4 years ago
create_act.py Fix #661, move hardswish out of default args for LeViT. Enable native torch support for hardswish, hardsigmoid, mish if present. 4 years ago
create_attn.py Update attention / self-attn based models from a series of experiments: 3 years ago
create_conv2d.py Use in_channels for depthwise groups, allows using `out_channels=N * in_channels` (does not impact existing models). Fix #354. 4 years ago
create_norm_act.py Fix regression in models with 1001 class pretrained weights. Improve batchnorm arg and BatchNormAct layer handling in several models. 4 years ago
drop.py Update drop_path and drop_block (fast impl) to be symbolically traceable, slightly faster 3 years ago
eca.py Add non-local and BAT attention. Merge attn and self-attn factories into one. Add attention references to README. Add mlp 'mode' to ECA. 4 years ago
evo_norm.py Fix FX breaking assert in evonorm 3 years ago
gather_excite.py Add Gather-Excite and Global Context attn modules. Refactor existing SE-like attn for consistency and refactor byob/byoanet for less redundancy. 4 years ago
global_context.py wip - pre-rebase 3 years ago
halo_attn.py wip - pre-rebase 3 years ago
helpers.py Throw in some FBNetV3 code I had lying around, some refactoring of SE reduction channel calcs for all EffNet archs. 4 years ago
inplace_abn.py Update README, fix iabn pip version print. 4 years ago
lambda_layer.py wip - pre-rebase 3 years ago
linear.py A few more changes for 0.3.2 maint release. Linear layer change for mobilenetv3 and inception_v3, support no bias for linear wrapper. 4 years ago
median_pool.py Initial Vision Transformer impl w/ patch and hybrid variants. Refactor tuple helpers. 4 years ago
mixed_conv2d.py Use in_channels for depthwise groups, allows using `out_channels=N * in_channels` (does not impact existing models). Fix #354. 4 years ago
mlp.py Cleanup re-use of Dropout modules in Mlp modules after some twitter feedback :p 3 years ago
non_local_attn.py wip - pre-rebase 3 years ago
norm.py Add ResNet-50 w/ GN (resnet50_gn) and SEBotNet-33-TS (sebotnet33ts_256) model defs and weights. Update halonet50ts weights w/ slightly better variant in1k val, more robust to test sets. 3 years ago
norm_act.py Prep a set of ResNetV2 models with GroupNorm, EvoNormB0, EvoNormS0 for BN free model experiments on TPU and IPU 3 years ago
padding.py
patch_embed.py wip - attempting to rebase 3 years ago
pool2d_same.py Support npz custom load for vision transformer hybrid models. Add posembed rescale for npz load. 3 years ago
selective_kernel.py wip - pre-rebase 3 years ago
separable_conv.py Fix regression in models with 1001 class pretrained weights. Improve batchnorm arg and BatchNormAct layer handling in several models. 4 years ago
space_to_depth.py
split_attn.py Add non-local and BAT attention. Merge attn and self-attn factories into one. Add attention references to README. Add mlp 'mode' to ECA. 4 years ago
split_batchnorm.py
squeeze_excite.py Add non-local and BAT attention. Merge attn and self-attn factories into one. Add attention references to README. Add mlp 'mode' to ECA. 4 years ago
std_conv.py Use reshape instead of view in std_conv, causing issues in recent PyTorch in channels_last 3 years ago
test_time_pool.py Add new weights for ecaresnet26t/50t/269d models. Remove distinction between 't' and 'tn' (tiered models), tn is now t. Add test time img size spec to default cfg. 4 years ago
trace_utils.py Better fix for #954 that doesn't break torchscript, pull torch._assert into timm namespace when it exists 3 years ago
weight_init.py Cleanup experimental vit weight init a bit 4 years ago