Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TARTRL/Deepfake_Detection
/ types & classes
Types & classes
181 in github.com/TARTRL/Deepfake_Detection
⨍
Functions
965
◇
Types & classes
181
↓ 76 callers
Class
ResNet
ResNet / ResNeXt / SE-ResNeXt / SE-Net This class implements all variants of ResNet, ResNeXt, SE-ResNeXt, and SENet that * have > 1 stride
dfd/timm/models/resnet.py:280
↓ 48 callers
Class
BasicConv2d
dfd/timm/models/inception_v4.py:27
↓ 38 callers
Class
BasicConv2d
dfd/timm/models/inception_resnet_v2.py:36
↓ 34 callers
Class
SelectAdaptivePool2d
Selectable global pooling layer with dynamic input kernel size
dfd/timm/models/layers/adaptive_avgmax_pool.py:70
↓ 22 callers
Class
BranchSeparables
dfd/timm/models/nasnet.py:72
↓ 20 callers
Class
Block17
dfd/timm/models/inception_resnet_v2.py:137
↓ 15 callers
Class
NormalCell
dfd/timm/models/nasnet.py:324
↓ 13 callers
Class
Cell
dfd/timm/models/pnasnet.py:230
↓ 12 callers
Class
Block
dfd/timm/models/xception.py:66
↓ 12 callers
Class
Block
dfd/timm/models/gluon_xception.py:116
↓ 12 callers
Class
BranchSeparables
dfd/timm/models/pnasnet.py:71
↓ 12 callers
Class
DLA
dfd/timm/models/dla.py:254
↓ 11 callers
Class
SeparableConv2d
dfd/timm/models/gluon_xception.py:84
↓ 10 callers
Class
Block35
dfd/timm/models/inception_resnet_v2.py:82
↓ 10 callers
Class
Block8
dfd/timm/models/inception_resnet_v2.py:195
↓ 9 callers
Class
SENet
dfd/timm/models/senet.py:226
↓ 8 callers
Class
ConvBnAct
dfd/timm/models/layers/conv_bn_act.py:10
↓ 8 callers
Class
DualPathBlock
dfd/timm/models/dpn.py:92
↓ 7 callers
Class
AverageMeter
Computes and stores the average and current value
dfd/timm/utils.py:152
↓ 7 callers
Class
Inception_B
dfd/timm/models/inception_v4.py:142
↓ 6 callers
Class
AugmentOp
dfd/timm/data/auto_augment.py:317
↓ 6 callers
Class
DPN
dfd/timm/models/dpn.py:156
↓ 6 callers
Class
DlaTree
dfd/timm/models/dla.py:206
↓ 6 callers
Class
MaxPool
dfd/timm/models/pnasnet.py:37
↓ 6 callers
Class
RandomErasing
Randomly selects a rectangle region in an image and erases its pixels. 'Random Erasing Data Augmentation' by Zhong et al. See https:/
dfd/timm/data/random_erasing.py:18
↓ 5 callers
Class
BnActConv2d
dfd/timm/models/dpn.py:62
↓ 5 callers
Class
BranchSeparablesReduction
dfd/timm/models/nasnet.py:114
↓ 5 callers
Class
OrderedDistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distribu
dfd/timm/data/distributed_sampler.py:7
↓ 5 callers
Class
ReluConvBn
dfd/timm/models/pnasnet.py:104
↓ 5 callers
Class
SeparableConv2d
dfd/timm/models/xception.py:52
↓ 5 callers
Class
SqueezeExcite
dfd/timm/models/efficientnet_blocks.py:93
↓ 5 callers
Class
ToNumpy
dfd/timm/data/transforms.py:10
↓ 4 callers
Class
DenseNet
r"""Densenet-BC model class, based on `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>` Args: growt
dfd/timm/models/densenet.py:75
↓ 4 callers
Class
EfficientNetBuilder
Build Trunk Blocks This ended up being somewhat of a cross between https://github.com/tensorflow/tpu/blob/master/models/official/mnasnet/mna
dfd/timm/models/efficientnet_builder.py:194
↓ 4 callers
Class
Inception_A
dfd/timm/models/inception_v4.py:91
↓ 4 callers
Class
SEModule
dfd/timm/models/senet.py:67
↓ 4 callers
Class
SeparableConv2d
dfd/timm/models/nasnet.py:56
↓ 3 callers
Class
BranchSeparablesStem
dfd/timm/models/nasnet.py:93
↓ 3 callers
Class
FirstCell
dfd/timm/models/nasnet.py:255
↓ 3 callers
Class
Inception_C
dfd/timm/models/inception_v4.py:201
↓ 3 callers
Class
MultiConcate
dfd/timm/data/transforms.py:29
↓ 2 callers
Class
CatBnAct
dfd/timm/models/dpn.py:51
↓ 2 callers
Class
CondConvResidual
Inverted residual block w/ CondConv routing
dfd/timm/models/efficientnet_blocks.py:431
↓ 2 callers
Class
DeepFakeDataset_v3
dfd/timm/data/dataset.py:378
↓ 2 callers
Class
DropBlock2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf
dfd/timm/models/layers/drop.py:66
↓ 2 callers
Class
EdgeResidual
Residual block with expansion convolution followed by pointwise-linear w/ stride
dfd/timm/models/efficientnet_blocks.py:484
↓ 2 callers
Class
FeatureHooks
dfd/timm/models/feature_hooks.py:5
↓ 2 callers
Class
InceptionResnetV2
dfd/timm/models/inception_resnet_v2.py:225
↓ 2 callers
Class
InputBlock
dfd/timm/models/dpn.py:74
↓ 2 callers
Class
LabelSmoothingCrossEntropy
NLL loss with label smoothing.
dfd/timm/loss/cross_entropy.py:6
↓ 2 callers
Class
MaxPoolPad
dfd/timm/models/nasnet.py:28
↓ 2 callers
Class
MultiRandomCrop
dfd/timm/data/transforms.py:311
↓ 2 callers
Class
MultiToNumpy
dfd/timm/data/transforms.py:20
↓ 2 callers
Class
PrefetchLoader
dfd/timm/data/loader.py:291
↓ 2 callers
Class
PrefetchLoader_v1
dfd/timm/data/loader.py:102
↓ 2 callers
Class
RandomResize
Resize the given PIL Image randomly. Args: scale: range of size of the origin size cropped interpolation: Default: PIL
dfd/timm/data/transforms.py:173
↓ 2 callers
Class
SelectiveKernelConv
dfd/timm/models/layers/selective_kernel.py:51
↓ 2 callers
Class
SeparableConv2d
dfd/timm/models/pnasnet.py:53
↓ 1 callers
Class
AdamW
r"""Implements AdamW algorithm. The original Adam algorithm was proposed in `Adam: A Method for Stochastic Optimization`_. The AdamW variant
dfd/timm/optim/adamw.py:9
↓ 1 callers
Class
AdaptiveAvgMaxPool2d
dfd/timm/models/layers/adaptive_avgmax_pool.py:52
↓ 1 callers
Class
AdaptiveCatAvgMaxPool2d
dfd/timm/models/layers/adaptive_avgmax_pool.py:61
↓ 1 callers
Class
AugMixAugment
AugMix Transform Adapted and improved from impl here: https://github.com/google-research/augmix/blob/master/imagenet.py From paper: 'AugMix:
dfd/timm/data/auto_augment.py:705
↓ 1 callers
Class
AugMixDataset
Dataset wrapper to perform AugMix or other clean/augmentation mixes
dfd/timm/data/dataset.py:633
↓ 1 callers
Class
AutoAugment
dfd/timm/data/auto_augment.py:495
↓ 1 callers
Class
AvgPoolPad
dfd/timm/models/nasnet.py:42
↓ 1 callers
Class
CellStem0
dfd/timm/models/pnasnet.py:185
↓ 1 callers
Class
CellStem0
dfd/timm/models/nasnet.py:132
↓ 1 callers
Class
CellStem1
dfd/timm/models/nasnet.py:182
↓ 1 callers
Class
ChannelAttn
Original CBAM channel attention module, currently avg + max pool variant only.
dfd/timm/models/layers/cbam.py:16
↓ 1 callers
Class
CheckpointSaver
dfd/timm/utils.py:36
↓ 1 callers
Class
CondConv2d
Conditionally Parameterized Convolution Inspired by: https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/condconv/condconv
dfd/timm/models/layers/cond_conv2d.py:33
↓ 1 callers
Class
Conv2dSame
Tensorflow like 'SAME' convolution wrapper for 2D convolutions
dfd/timm/models/layers/conv2d_same.py:21
↓ 1 callers
Class
CosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/all
dfd/timm/scheduler/cosine_lr.py:12
↓ 1 callers
Class
DeepFakeModel
dfd/params.py:34
↓ 1 callers
Class
DeepfakeDepthwiseConv
DepthwiseSeparable block Used for DS convs in MobileNet-V1 and in the place of IR blocks that have no expansion (factor of 1.0). This is an a
dfd/timm/models/efficientnet_blocks.py:197
↓ 1 callers
Class
DeepfakeInvertedResidual
Inverted residual block w/ optional SE and CondConv routing
dfd/timm/models/efficientnet_blocks.py:351
↓ 1 callers
Class
DepthwiseSeparableConv
DepthwiseSeparable block Used for DS convs in MobileNet-V1 and in the place of IR blocks that have no expansion (factor of 1.0). This is an a
dfd/timm/models/efficientnet_blocks.py:136
↓ 1 callers
Class
DlaRoot
dfd/timm/models/dla.py:186
↓ 1 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
dfd/timm/models/layers/drop.py:103
↓ 1 callers
Class
EfficientDeepfakeNetBuilder
Build Trunk Blocks This ended up being somewhat of a cross between https://github.com/tensorflow/tpu/blob/master/models/official/mnasnet/mna
dfd/timm/models/efficientnet_builder.py:365
↓ 1 callers
Class
FactorizedReduction
dfd/timm/models/pnasnet.py:121
↓ 1 callers
Class
FastCollateMixup
dfd/timm/data/mixup.py:27
↓ 1 callers
Class
FormatterNoInfo
dfd/timm/utils.py:343
↓ 1 callers
Class
HighResolutionModule
dfd/timm/models/hrnet.py:394
↓ 1 callers
Class
InceptionV4
dfd/timm/models/inception_v4.py:243
↓ 1 callers
Class
InvertedResidual
Inverted residual block w/ optional SE and CondConv routing
dfd/timm/models/efficientnet_blocks.py:260
↓ 1 callers
Class
JsdCrossEntropy
Jensen-Shannon Divergence + Cross-Entropy Loss Based on impl here: https://github.com/google-research/augmix/blob/master/imagenet.py From pa
dfd/timm/loss/jsd.py:8
↓ 1 callers
Class
LightChannelAttn
An experimental 'lightweight' that sums avg + max pool first
dfd/timm/models/layers/cbam.py:36
↓ 1 callers
Class
LightSpatialAttn
An experimental 'lightweight' variant that sums avg_pool and max_pool results.
dfd/timm/models/layers/cbam.py:63
↓ 1 callers
Class
Lookahead
dfd/timm/optim/lookahead.py:10
↓ 1 callers
Class
MixedConv2d
Mixed Grouped Convolution Based on MDConv and GroupedConv in MixNet impl: https://github.com/tensorflow/tpu/blob/master/models/official/mn
dfd/timm/models/layers/mixed_conv2d.py:20
↓ 1 callers
Class
Mixed_3a
dfd/timm/models/inception_v4.py:42
↓ 1 callers
Class
Mixed_4a
dfd/timm/models/inception_v4.py:55
↓ 1 callers
Class
Mixed_5a
dfd/timm/models/inception_v4.py:78
↓ 1 callers
Class
Mixed_5b
dfd/timm/models/inception_resnet_v2.py:51
↓ 1 callers
Class
Mixed_6a
dfd/timm/models/inception_resnet_v2.py:115
↓ 1 callers
Class
Mixed_7a
dfd/timm/models/inception_resnet_v2.py:164
↓ 1 callers
Class
ModelEma
Model Exponential Moving Average Keep a moving average of everything in the model state_dict (parameters and buffers). This is intended to a
dfd/timm/utils.py:277
↓ 1 callers
Class
MultiBlur
dfd/timm/data/transforms.py:243
↓ 1 callers
Class
MultiColorJitter
dfd/timm/data/transforms.py:332
next →
1–100 of 181, ranked by callers