MCPcopy Create free account

hub / github.com/RoyZry98/VeCAF-Pytorch / functions

Functions249 in github.com/RoyZry98/VeCAF-Pytorch

Methodforward
(self, x)
data_selection/vision_transformer.py:45
Methodforward
(self, x)
data_selection/vision_transformer.py:59
Methodforward
(self, x)
data_selection/vision_transformer.py:80
Methodforward
(self, x, return_attention=False)
data_selection/vision_transformer.py:107
Methodforward
(self, x)
data_selection/vision_transformer.py:128
Methodforward
(self, x)
data_selection/vision_transformer.py:209
Methodforward
(self, x)
data_selection/vision_transformer.py:287
Methodget_classifier
(self)
deit/patchconvnet_models.py:292
Methodget_classifier
(self)
deit/resmlp_models.py:87
Functionget_distance
(p1, p2, type, slice=1000, temperature=None)
data_selection/sample_tools/utils.py:11
Methodget_last_selfattention
(self, x)
data_selection/vision_transformer.py:216
Methodget_num_layers
(self)
deit/patchconvnet_models.py:295
Functionget_params_groups
(model)
data_selection/utils.py:632
Functionget_sha
()
data_selection/utils.py:403
Functionget_world_size
()
deit/utils.py:195
Methodglobal_avg
(self)
deit/utils.py:60
Methodglobal_avg
(self)
data_selection/utils.py:266
Functionhas_batchnorms
(model)
data_selection/utils.py:646
Functioninit_distributed_mode
(args)
deit/utils.py:216
Functioninit_distributed_mode
(args)
data_selection/utils.py:467
Functionload_pretrained_linear_weights
(linear_classifier, model_name, patch_size)
data_selection/utils.py:112
Functionload_pretrained_weights
(model, pretrained_weights, checkpoint_key, model_name, patch_size)
data_selection/utils.py:71
Methodmax
(self)
deit/utils.py:64
Methodmedian
(self)
deit/utils.py:50
Methodmedian
(self)
data_selection/utils.py:256
Functionmulti_scale
(samples, model)
data_selection/utils.py:815
Methodno_weight_decay
(self)
deit/patchconvnet_models.py:289
Methodno_weight_decay
(self)
deit/cait_models.py:222
Functionreduce_dict
Args: input_dict (dict): all the values will be reduced average (bool): whether to do average or sum Reduce the values in the
data_selection/utils.py:286
Methodreset_classifier
(self, num_classes, global_pool='')
deit/patchconvnet_models.py:298
Methodreset_classifier
(self, num_classes, global_pool='')
deit/resmlp_models.py:90
FunctionresmlpB_24
(pretrained=False,dist=False, in_22k = False, **kwargs)
deit/resmlp_models.py:176
Functionresmlp_12
(pretrained=False,dist=False, **kwargs)
deit/resmlp_models.py:113
Functionresmlp_24
(pretrained=False,dist=False,dino=False, **kwargs)
deit/resmlp_models.py:134
Functionresmlp_36
(pretrained=False,dist=False, **kwargs)
deit/resmlp_models.py:156
Functionrestart_from_checkpoint
Re-start from checkpoint
data_selection/utils.py:152
Functionsave_on_master
(*args, **kwargs)
deit/utils.py:211
Functionsave_on_master
(*args, **kwargs)
data_selection/utils.py:447
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
deit/utils.py:36
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
data_selection/utils.py:242
Methodsynchronize_between_processes
(self)
data_selection/utils.py:341
Methodtrain_pca
Takes a covariance matrix (np.ndarray) as input.
data_selection/utils.py:663
Methodupdate
(self, **kwargs)
data_selection/utils.py:318
Methodvalue
(self)
deit/utils.py:68
Methodvalue
(self)
data_selection/utils.py:274
Functionvit_base
(patch_size=16, **kwargs)
data_selection/vision_transformer.py:250
Functionvit_small
(patch_size=16, **kwargs)
data_selection/vision_transformer.py:243
Functionvit_tiny
(patch_size=16, **kwargs)
data_selection/vision_transformer.py:236
Functionworker_func
()
single_turn_mmnew.py:147
← previous201–249 of 249, ranked by callers