MCPcopy Create free account

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

Functions249 in github.com/RoyZry98/VeCAF-Pytorch

↓ 88 callersFunctionprint
(*args, **kwargs)
deit/utils.py:179
↓ 54 callersFunctionprint
(*args, **kwargs)
data_selection/utils.py:459
↓ 13 callersMethodmax
(self)
data_selection/utils.py:270
↓ 12 callersFunctiontrunc_normal_
(tensor, mean=0., std=1., a=-2., b=2.)
data_selection/utils.py:548
↓ 11 callersMethodstep
(self)
data_selection/utils.py:565
↓ 10 callersFunctionbuild_dataset
(is_train, args)
deit/datasets.py:57
↓ 10 callersMethodupdate
(self, **kwargs)
deit/utils.py:85
↓ 8 callersFunctionevaluate
(data_loader, model, device)
deit/engine.py:67
↓ 7 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
deit/patchconvnet_models.py:20
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
data_selection/vision_transformer.py:50
↓ 6 callersMethodapply
(self, x)
data_selection/utils.py:689
↓ 4 callersMethod__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, nu
deit/cait_models.py:157
↓ 4 callersFunctionaccuracy
Computes the accuracy over the k top predictions for the specified values of k
data_selection/utils.py:502
↓ 4 callersFunctionconv3x3
3x3 convolution with padding
deit/patchconvnet_models.py:176
↓ 4 callersMethodlog_every
(self, iterable, print_freq, header=None)
deit/utils.py:115
↓ 4 callersMethodsynchronize_between_processes
(self)
deit/utils.py:108
↓ 3 callersFunction_run
(command)
data_selection/utils.py:406
↓ 3 callersFunctionfarthest_distance_sample
(all_features, sample_num, dist_func, init_ids=[])
data_selection/sample_tools/utils.py:133
↓ 3 callersFunctionfix_random_seeds
Fix random seeds.
data_selection/sample_tools/utils.py:167
↓ 3 callersFunctionget_shared_folder
()
deit/run_with_submitit.py:30
↓ 3 callersFunctionis_dist_avail_and_initialized
()
deit/utils.py:187
↓ 3 callersFunctionis_dist_avail_and_initialized
()
data_selection/utils.py:423
↓ 3 callersMethodprepare_tokens
(self, x)
data_selection/vision_transformer.py:196
↓ 3 callersMethodset_epoch
(self, epoch)
deit/samplers.py:63
↓ 3 callersFunctiontrain_one_epoch
(model: torch.nn.Module, criterion: DistillationLoss, data_loader: Iterable, optimizer: to
deit/engine.py:19
↓ 2 callersMethod__init__
(self, dim)
deit/resmlp_models.py:17
↓ 2 callersMethod__init__
(self, dim=256, whit=0.5)
data_selection/utils.py:658
↓ 2 callersFunctionget_init_file
()
deit/run_with_submitit.py:39
↓ 2 callersFunctionnorm_cdf
(x)
data_selection/utils.py:515
↓ 2 callersMethodupdate
(self, value, n=1)
deit/utils.py:31
↓ 2 callersMethodupdate
(self, value, n=1)
data_selection/utils.py:237
↓ 2 callersFunctionupdate_distance
(distances, all_features, cfeature, dist_func)
data_selection/sample_tools/utils.py:128
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
data_selection/utils.py:512
↓ 1 callersMethod_setup_gpu_args
(self)
deit/run_with_submitit.py:70
↓ 1 callersMethodadd_meter
(self, name, meter)
deit/utils.py:112
↓ 1 callersFunctionaggregate_att
(w_clients, w_server, stepsize, metric, dp)
data_selection/sample_tools/VeCAF_ImageNet.py:230
↓ 1 callersFunctionbuild_transform
(is_train, args)
deit/datasets.py:106
↓ 1 callersFunctioncompute_ap
Computes average precision for given ranked indexes. Arguments --------- ranks : zerro-based ranks of positive images nres : num
data_selection/utils.py:708
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0., training: bool = False)
data_selection/vision_transformer.py:27
↓ 1 callersFunctionextract_features
(args)
data_selection/extract_feature.py:32
↓ 1 callersMethodforward_features
(self, x)
deit/patchconvnet_models.py:302
↓ 1 callersMethodforward_features
(self, x)
deit/cait_models.py:226
↓ 1 callersMethodforward_features
(self, x)
deit/models.py:32
↓ 1 callersMethodforward_features
(self, x)
deit/resmlp_models.py:94
↓ 1 callersFunctiongenerate
( img_path, prompt, question_input, max_gen_len, gen_t, top_p )
single_turn_mmnew.py:81
↓ 1 callersFunctionget_args_parser
()
single_turn_mmnew.py:22
↓ 1 callersFunctionget_args_parser
()
deit/eval.py:34
↓ 1 callersFunctionget_args_parser
()
deit/class_eval.py:35
↓ 1 callersFunctionget_args_parser
()
deit/main_1k.py:31
↓ 1 callersFunctionget_args_parser
()
deit/main.py:31
↓ 1 callersFunctionget_args_parser
()
deit/main_aug.py:31
↓ 1 callersFunctionget_delta
(samples, means, glob_weight)
data_selection/sample_tools/VeCAF_ImageNet.py:202
↓ 1 callersFunctionget_delta
(samples, means, glob_weight)
data_selection/sample_tools/VeCAF_CIFAR_estimation_weight.py:138
↓ 1 callersFunctionget_delta
(samples, means, glob_weight)
data_selection/sample_tools/VeCAF_CIFAR_estimation.py:124
↓ 1 callersMethodget_intermediate_layers
(self, x, n=1)
data_selection/vision_transformer.py:225
↓ 1 callersMethodget_loss
(self)
data_selection/sample_tools/VeCAF_ImageNet.py:74
↓ 1 callersMethodget_loss
(self)
data_selection/sample_tools/VeCAF_CIFAR_weight.py:46
↓ 1 callersMethodget_loss
(self)
data_selection/sample_tools/VeCAF_CIFAR_estimation_weight.py:46
↓ 1 callersMethodget_loss
(self)
data_selection/sample_tools/VeCAF_CIFAR_estimation.py:45
↓ 1 callersFunctionget_rank
()
deit/utils.py:201
↓ 1 callersFunctionget_rank
()
data_selection/utils.py:437
↓ 1 callersFunctionget_world_size
()
data_selection/utils.py:431
↓ 1 callersMethodinit_centroids
(self)
data_selection/sample_tools/VeCAF_ImageNet.py:63
↓ 1 callersMethodinit_centroids
(self)
data_selection/sample_tools/VeCAF_CIFAR_weight.py:35
↓ 1 callersMethodinit_centroids
(self)
data_selection/sample_tools/VeCAF_CIFAR_estimation_weight.py:35
↓ 1 callersMethodinit_centroids
(self)
data_selection/sample_tools/VeCAF_CIFAR_estimation.py:34
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
data_selection/vision_transformer.py:174
↓ 1 callersFunctionis_main_process
()
deit/utils.py:207
↓ 1 callersFunctionis_main_process
()
data_selection/utils.py:443
↓ 1 callersMethodlog_every
(self, iterable, print_freq, header=None)
data_selection/utils.py:348
↓ 1 callersFunctionmain
(args)
deit/eval.py:183
↓ 1 callersFunctionmain
(args)
deit/class_eval.py:184
↓ 1 callersFunctionmain
()
deit/run_with_submitit.py:82
↓ 1 callersFunctionmain
(args)
deit/main_1k.py:178
↓ 1 callersFunctionmain
(args)
deit/main.py:178
↓ 1 callersFunctionmain
(args)
deit/main_aug.py:178
↓ 1 callersFunctionmain
(args)
data_selection/sample_tools/VeCAF_ImageNet.py:250
↓ 1 callersFunctionmain
(args)
data_selection/sample_tools/VeCAF_CIFAR_weight.py:182
↓ 1 callersFunctionmain
(args)
data_selection/sample_tools/VeCAF_CIFAR_estimation_weight.py:167
↓ 1 callersFunctionmain
(args)
data_selection/sample_tools/VeCAF_CIFAR_estimation.py:153
↓ 1 callersFunctionmy_evaluate
(data_loader, model, device)
deit/eval.py:516
↓ 1 callersFunctionmy_evaluate
(data_loader, model, device)
deit/class_eval.py:583
↓ 1 callersFunctionoptimize_dist
(features, sample_num, args)
data_selection/sample_tools/VeCAF_ImageNet.py:138
↓ 1 callersFunctionoptimize_dist
(features, sample_num, args)
data_selection/sample_tools/VeCAF_CIFAR_weight.py:140
↓ 1 callersFunctionoptimize_dist
(features, sample_num, args)
data_selection/sample_tools/VeCAF_CIFAR_estimation_weight.py:76
↓ 1 callersFunctionoptimize_dist
(features, sample_num, args)
data_selection/sample_tools/VeCAF_CIFAR_estimation.py:63
↓ 1 callersFunctionparse_args
()
deit/run_with_submitit.py:15
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
deit/utils.py:172
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
data_selection/utils.py:452
↓ 1 callersFunctionvalidate_network
(data_loader, model, n, avgpool)
data_selection/extract_feature.py:117
FunctionB120
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:369
FunctionB60
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:358
FunctionL120
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:395
FunctionL60
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:381
FunctionS120
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:346
FunctionS60
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:334
FunctionS60_multi
(pretrained=False, **kwargs)
deit/patchconvnet_models.py:407
Method__call__
(self)
deit/run_with_submitit.py:52
Method__call__
(self, img)
data_selection/utils.py:45
Method__call__
(self, img)
data_selection/utils.py:64
next →1–100 of 249, ranked by callers