MCPcopy Create free account

hub / github.com/FederatedAI/research / functions

Functions933 in github.com/FederatedAI/research

↓ 118 callersMethodparameters
(self)
publications/PrADA/models/dann_models.py:294
↓ 71 callersMethodupdate
(self, val, n=1)
publications/ss_vfnas/utils.py:19
↓ 65 callersMethodload_state_dict
(self, d)
datasets/federated_object_detection_benchmark/utils/vis_tool.py:252
↓ 62 callersMethodstate_dict
(self)
datasets/federated_object_detection_benchmark/utils/vis_tool.py:244
↓ 62 callersMethodstep
(self, input_train, target_train, input_valid, target_valid, eta, network_optimizer, unrolled)
publications/ss_vfnas/architects/architect.py:33
↓ 38 callersMethodarch_parameters
(self)
publications/ss_vfnas/models/model_search.py:130
↓ 38 callersMethodeval
(self, dataloader, yolo, test_num=10000)
datasets/federated_object_detection_benchmark/model/model_wrapper.py:103
↓ 38 callersMethodload
(self, path, load_optimizer=True, parse_opt=False, )
datasets/federated_object_detection_benchmark/model/faster_rcnn_trainer.py:213
↓ 36 callersMethodplot
self.plot('loss',1.00)
datasets/federated_object_detection_benchmark/utils/vis_tool.py:205
↓ 35 callersMethodget
(self)
publications/FedCG/utils.py:24
↓ 34 callersMethodbackward
(ctx, grad_output)
publications/PrADA/models/discriminator.py:16
↓ 34 callersFunctionset_seed
(manual_seed)
publications/FedCG/utils.py:59
↓ 28 callersFunctionadd_gaussian_noise
(tensor, mean, std)
publications/FedCG/utils.py:55
↓ 28 callersMethodsave
serialize models include optimizer and other info return path where the model-file is stored. Args: save_optimizer (bool)
datasets/federated_object_detection_benchmark/model/faster_rcnn_trainer.py:177
↓ 27 callersMethodreset
(self)
publications/FedCG/utils.py:13
↓ 27 callersMethodupdate
(self, val, n=1)
publications/FedCG/utils.py:18
↓ 18 callersMethod_loss
(self, input, target)
publications/ss_vfnas/models/model_search.py:115
↓ 15 callersMethodembedding
(self, input)
publications/ss_vfnas/models/model_search_k_party_moco.py:136
↓ 15 callersFunctionget_income_census_dataloaders
(ds_file_name, split_ratio=0.9, batch_size=64, num_workers=2)
publications/PrADA/datasets/census_dataloader.py:48
↓ 14 callersFunctionto_cpu
(tensor)
datasets/federated_object_detection_benchmark/utils/utils.py:14
↓ 12 callersFunctionbucketized_age
(age)
publications/PrADA/data_process/census_process/utils.py:2
↓ 12 callersMethodget_u
(self, input)
publications/ss_vfnas/models/model_search_k_party.py:226
↓ 11 callersMethodgenotype
(self)
publications/ss_vfnas/models/model_search.py:133
↓ 11 callersMethodupdate_alpha
(self, input_valid, U_B_val_list, target_valid)
publications/ss_vfnas/architects/architect_k_party.py:21
↓ 11 callersMethodupdate_weights
(self, trn_X, U_B_train_list, target_train, weights_optim, grad_clip)
publications/ss_vfnas/architects/architect_k_party.py:33
↓ 10 callersFunctionget_datasets
(ds_file_name, shuffle=False, split_ratio=0.9)
publications/PrADA/datasets/ppd_dataloader.py:32
↓ 9 callersMethod__init__
(self)
publications/FedCG/models.py:13
↓ 9 callersFunctionget_dataloader
(train_dataset, batch_size=32, num_workers=6)
publications/PrADA/datasets/ppd_dataloader.py:59
↓ 9 callersFunctionget_timestamp
()
publications/PrADA/utils.py:45
↓ 9 callersFunctiontest_classifier
(model, data_loader, tag)
publications/PrADA/utils.py:91
↓ 8 callersFunctionadd_dp_to_list
gpu compatible version :param input_tensor: variable :param clip_value: clipping value of 2-norm :param variance: variance of gau
publications/ss_vfnas/dp_utils.py:65
↓ 8 callersFunctioncreate_id_from_hyperparameters
(hyper_parameter_dict)
publications/PrADA/utils.py:24
↓ 8 callersFunctiondrop_path
(x, drop_prob)
publications/ss_vfnas/utils.py:104
↓ 8 callersMethodload_model
(self, root, task_id, task_meta_file_name="task_meta", load_global_classifier=True, timestamp=None)
publications/PrADA/models/dann_models.py:95
↓ 8 callersMethodnew
(self)
publications/ss_vfnas/models/model_search.py:97
↓ 8 callersMethodprint_parameters
(self, print_all=False)
publications/PrADA/models/dann_models.py:69
↓ 7 callersMethod__init__
(self)
publications/PrADA/models/feature_extractor.py:9
↓ 7 callersMethodlog
self.log({'loss':1,'lr':0.0001})
datasets/federated_object_detection_benchmark/utils/vis_tool.py:232
↓ 6 callersMethod__init__
(self, input_dim)
publications/PrADA/models/discriminator.py:33
↓ 6 callersFunctionget_current_date
()
publications/PrADA/utils.py:49
↓ 5 callersMethod__init__
(self, stride)
publications/ss_vfnas/operations.py:80
↓ 5 callersMethod__init__
(self, input_dim)
publications/PrADA/models/classifier.py:19
↓ 5 callersMethod_combine_features
:param feat_dict: :return:
publications/PrADA/models/dann_models.py:307
↓ 5 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/fedcg_w.py:41
↓ 5 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/fedcg.py:41
↓ 5 callersFunctionprint_data_distribution
(train_data, val_data, test_data)
publications/FedCG/dataset.py:31
↓ 5 callersMethodreceive
(self, models)
publications/FedCG/servers/fedcg.py:74
↓ 5 callersMethodsend
(self, models)
publications/FedCG/servers/fedcg.py:88
↓ 5 callersMethodtransform
(self, x)
publications/PrADA/models/classifier.py:11
↓ 4 callersMethod__init__
(self, genotype, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model.py:10
↓ 4 callersMethod__len__
(self)
datasets/federated_object_detection_benchmark/data/dataset.py:115
↓ 4 callersFunction_concat
(xs)
publications/ss_vfnas/architects/architect.py:7
↓ 4 callersMethodbackward
(self, grad_output)
datasets/federated_object_detection_benchmark/model/roi_module.py:57
↓ 4 callersMethodbuild_fit
(self, feat_list)
publications/PrADA/models/interaction_models.py:60
↓ 4 callersMethodcompute_grad
(self, X, U_B_list, target, need_weight_grad)
publications/ss_vfnas/architects/architect_k_party_milenas.py:34
↓ 4 callersFunctioncompute_interactive_key
(idx_a, idx_b)
publications/PrADA/models/interaction_models.py:26
↓ 4 callersFunctionget_pdd_dataloaders
(ds_file_name, split_ratio=0.9, batch_size=64, num_workers=6)
publications/PrADA/datasets/ppd_dataloader.py:72
↓ 4 callersMethodparameters
(self)
publications/PrADA/models/interaction_models.py:279
↓ 4 callersMethodset_model_save_info
(self, root)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:73
↓ 3 callersMethod__init__
(self, config_path, img_size=416)
datasets/federated_object_detection_benchmark/model/yolo.py:237
↓ 3 callersMethod__init__
(self, steps, multiplier, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_search_k_party_chexpert.py:26
↓ 3 callersMethod__init__
(self, steps, multiplier, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_search_k_party_moco.py:27
↓ 3 callersMethod__init__
(self, steps, multiplier, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_search_k_party_dp.py:27
↓ 3 callersMethod__init__
(self, steps, multiplier, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_search_k_party.py:27
↓ 3 callersMethod_freeze
(self, model_list, is_freeze=False)
publications/PrADA/models/interaction_models.py:305
↓ 3 callersFunction_kl_divergence
Calculate Kullback-Leibler divergence of p1 and p2, which are assumed to values of two different density functions at the given positions xs.
publications/PrADA/statistics_utils.py:107
↓ 3 callersMethod_state_dict
(self)
datasets/federated_object_detection_benchmark/utils/config.py:91
↓ 3 callersMethodarch_parameters
(self)
publications/ss_vfnas/models/model_search_k_party_chexpert.py:142
↓ 3 callersMethodarch_parameters
(self)
publications/ss_vfnas/models/model_search_k_party_moco.py:149
↓ 3 callersMethodarch_parameters
(self)
publications/ss_vfnas/models/model_search_k_party_dp.py:133
↓ 3 callersMethodarch_parameters
(self)
publications/ss_vfnas/models/model_search_k_party.py:135
↓ 3 callersFunctionbbox_iou
Returns the IoU of two bounding boxes
datasets/federated_object_detection_benchmark/utils/utils.py:193
↓ 3 callersFunctionbbox_iou
Calculate the Intersection of Unions (IoUs) between bounding boxes. IoU is calculated as a ratio of area of the intersection and area of the
datasets/federated_object_detection_benchmark/model/utils/bbox_tools.py:145
↓ 3 callersMethodcalculate_global_classifier_input_vector
(self, data)
publications/PrADA/models/dann_models.py:466
↓ 3 callersMethodchange_to_eval_mode
(self)
publications/PrADA/models/dann_models.py:286
↓ 3 callersMethodcheck_client_resource
(self)
datasets/federated_object_detection_benchmark/fl_server.py:332
↓ 3 callersFunctioncompute_feature_crossing
(feature_cross_model, feature_group_list)
publications/PrADA/models/dann_models.py:34
↓ 3 callersFunctioncompute_parameter_size
(feature_extractor_architecture)
publications/PrADA/utils.py:15
↓ 3 callersFunctioncreate_fg_census_global_model
(pos_class_weight=1.0, num_wide_feature=5, using_interaction=False)
publications/PrADA/experiments/income_census/train_census_fg_adapt_pretrain.py:78
↓ 3 callersFunctioncreate_fg_pdd_global_model
(pos_class_weight=1.0, num_wide_feature=6, using_interaction=False)
publications/PrADA/experiments/ppd_loan/train_ppd_fg_adapt_pretrain.py:85
↓ 3 callersFunctioncreate_no_fg_census_global_model
(aggregation_dim=4, num_wide_feature=5, pos_class_weight=1.0)
publications/PrADA/experiments/income_census/train_census_no_fg_adapt_pretrain.py:74
↓ 3 callersFunctioncreate_no_fg_pdd_global_model
(aggregation_dim=5, num_wide_feature=6, pos_class_weight=1.0)
publications/PrADA/experiments/ppd_loan/train_ppd_no_fg_adapt_pretrain.py:69
↓ 3 callersMethoddata_partition
(self)
publications/FedCG/dataset.py:252
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/servers/fedgen.py:30
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/servers/fedcg.py:30
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/servers/feddf.py:34
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/fedgen.py:40
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/fedsplit.py:40
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/local.py:40
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/fedavg.py:40
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/feddf.py:40
↓ 3 callersMethodfrozen_net
(self, models, frozen)
publications/FedCG/clients/fedprox.py:42
↓ 3 callersMethodget_global_classifier_parameters
(self, get_tensor=False)
publications/PrADA/models/dann_models.py:86
↓ 3 callersFunctionget_labeled_data
Retrieve samples in the form of image features, textual features, and labels. Parameters ---------- data_dir: the directory that
datasets/NUS_WIDE/nus_wide_data_util.py:41
↓ 3 callersMethodget_params
(self, models)
publications/FedCG/clients/fedcg_w.py:35
↓ 3 callersMethodget_params
(self, models)
publications/FedCG/clients/fedcg.py:35
↓ 3 callersMethodglobal_train
(self)
publications/FedCG/servers/fedcg.py:109
↓ 3 callersMethodis_regional_model_list_empty
(self)
publications/PrADA/models/dann_models.py:336
↓ 3 callersFunctionnormal_init
weight initalizer: truncated normal and random normal.
datasets/federated_object_detection_benchmark/model/region_proposal_network.py:190
↓ 3 callersFunctionobj_to_pickle_string
(x, file_path=None)
datasets/federated_object_detection_benchmark/utils/model_dump.py:5
next →1–100 of 933, ranked by callers