Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coeusguo/ceit
/ functions
Functions
62 in github.com/coeusguo/ceit
⨍
Functions
62
◇
Types & classes
12
↓ 19 callers
Function
print
(*args, **kwargs)
utils.py:179
↓ 7 callers
Method
__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
ceit_model.py:34
↓ 6 callers
Method
update
(self, **kwargs)
utils.py:85
↓ 3 callers
Function
is_dist_avail_and_initialized
()
utils.py:187
↓ 2 callers
Function
build_dataset
(is_train, args)
datasets.py:58
↓ 2 callers
Function
evaluate
(data_loader, model, device)
engine.py:66
↓ 2 callers
Method
log_every
(self, iterable, print_freq, header=None)
utils.py:115
↓ 2 callers
Method
synchronize_between_processes
(self)
utils.py:108
↓ 2 callers
Method
update
(self, value, n=1)
utils.py:31
↓ 1 callers
Method
add_meter
(self, name, meter)
utils.py:112
↓ 1 callers
Function
build_transform
(is_train, args)
datasets.py:80
↓ 1 callers
Method
forward_features
(self, x)
ceit_model.py:345
↓ 1 callers
Function
get_args_parser
()
main.py:27
↓ 1 callers
Function
get_rank
()
utils.py:201
↓ 1 callers
Function
is_main_process
()
utils.py:207
↓ 1 callers
Function
main
(args)
main.py:169
↓ 1 callers
Method
set_epoch
(self, epoch)
samplers.py:58
↓ 1 callers
Function
setup_for_distributed
This function disables printing when not in master process
utils.py:172
↓ 1 callers
Function
train_one_epoch
(model: torch.nn.Module, criterion: torch.nn.Module, data_loader: Iterable, optimizer: tor
engine.py:18
Method
__getattr__
(self, attr)
utils.py:92
Method
__init__
(self, in_chans=3, out_chans=64, kernel_size=7, stride=2)
ceit_model.py:19
Method
__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0., kern
ceit_model.py:53
Method
__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
ceit_model.py:102
Method
__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
ceit_model.py:132
Method
__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
ceit_model.py:166
Method
__init__
(self, backbone, img_size=224, patch_size=16, feature_size=None, in_chans=3, embed_dim=768)
ceit_model.py:207
Method
__init__
args: - img_size (:obj:`int`): input image size - patch_size (:obj:`int`): patch size - in_chans (:obj:`i
ceit_model.py:245
Method
__init__
(self, dataset, num_replicas=None, rank=None, shuffle=True)
samplers.py:16
Method
__init__
(self, window_size=20, fmt=None)
utils.py:23
Method
__init__
(self, delimiter="\t")
utils.py:81
Method
__init__
(self, root, train=True, year=2018, transform=None, target_transform=None, category='name', l
datasets.py:16
Method
__iter__
(self)
samplers.py:35
Method
__len__
(self)
samplers.py:55
Method
__str__
(self)
utils.py:71
Method
__str__
(self)
utils.py:100
Method
_init_weights
(self, m)
ceit_model.py:325
Function
_load_checkpoint_for_ema
Workaround for ModelEma._load_checkpoint to accept an already-loaded object
utils.py:162
Method
avg
(self)
utils.py:55
Function
ceit_base_patch16_224
convolutional + pooling stem local enhanced feedforward attention over cls_tokens
ceit_model.py:406
Function
ceit_small_patch16_224
convolutional + pooling stem local enhanced feedforward attention over cls_tokens
ceit_model.py:390
Function
ceit_small_patch16_384
convolutional + pooling stem local enhanced feedforward attention over cls_tokens
ceit_model.py:438
Function
ceit_tiny_patch16_224
convolutional + pooling stem local enhanced feedforward attention over cls_tokens
ceit_model.py:374
Function
ceit_tiny_patch16_384
convolutional + pooling stem local enhanced feedforward attention over cls_tokens
ceit_model.py:422
Method
forward
(self, x)
ceit_model.py:26
Method
forward
(self, x)
ceit_model.py:43
Method
forward
(self, x)
ceit_model.py:76
Method
forward
(self, x)
ceit_model.py:115
Method
forward
(self, x)
ceit_model.py:137
Method
forward
(self, x)
ceit_model.py:191
Method
forward
(self, x)
ceit_model.py:236
Method
forward
(self, x)
ceit_model.py:367
Method
get_classifier
(self)
ceit_model.py:338
Function
get_world_size
()
utils.py:195
Method
global_avg
(self)
utils.py:60
Function
init_distributed_mode
(args)
utils.py:216
Method
max
(self)
utils.py:64
Method
median
(self)
utils.py:50
Method
no_weight_decay
(self)
ceit_model.py:335
Method
reset_classifier
(self, num_classes, global_pool='')
ceit_model.py:341
Function
save_on_master
(*args, **kwargs)
utils.py:211
Method
synchronize_between_processes
Warning: does not synchronize the deque!
utils.py:36
Method
value
(self)
utils.py:68