MCPcopy Create free account

hub / github.com/FederatedAI/research / functions

Functions933 in github.com/FederatedAI/research

↓ 3 callersFunctionpickle_string_to_obj
(s)
datasets/federated_object_detection_benchmark/utils/model_dump.py:20
↓ 3 callersFunctionpreprocess
Preprocess an image for feature extraction. The length of the shorter edge is scaled to :obj:`self.min_size`. After the scaling, if the lengt
datasets/federated_object_detection_benchmark/data/dataset.py:42
↓ 3 callersFunctionsave_dann_experiment_result
(root, task_id, param_dict, metric_dict, timestamp)
publications/PrADA/utils.py:53
↓ 3 callersFunctionstandardize
(df_data, df_columns_list, df_cat_mask_list)
publications/PrADA/data_process/ppd_process/ppd_prepare_data.py:22
↓ 3 callersMethoduse_preset
Use the given preset during prediction. This method changes values of :obj:`self.nms_thresh` and :obj:`self.score_thresh`. These valu
datasets/federated_object_detection_benchmark/model/faster_rcnn.py:136
↓ 2 callersFunctionGET_BLOCKS
(N, K=CUDA_NUM_THREADS)
datasets/federated_object_detection_benchmark/model/roi_module.py:25
↓ 2 callersMethod__init__
(self, genotype, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_k_party_dp.py:10
↓ 2 callersMethod__init__
(self, genotype, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_k_party_chexpert.py:10
↓ 2 callersMethod__init__
(self, steps, multiplier, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_search.py:27
↓ 2 callersMethod__init__
(self, genotype, C_prev_prev, C_prev, C, reduction, reduction_prev)
publications/ss_vfnas/models/model_k_party.py:10
↓ 2 callersMethod_change_to_eval_mode
(self)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:83
↓ 2 callersMethod_change_to_train_mode
(self)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:80
↓ 2 callersMethod_compute_fg_repr_list
(self, fg_list)
publications/PrADA/models/interaction_models.py:319
↓ 2 callersFunction_fast_rcnn_loc_loss
(pred_loc, gt_loc, gt_label, sigma)
datasets/federated_object_detection_benchmark/model/faster_rcnn_trainer.py:251
↓ 2 callersFunction_get_estimators_and_xs
Get KDE estimators for two different datasets and a set of points to evaluate both distributions on.
publications/PrADA/statistics_utils.py:86
↓ 2 callersFunction_get_kd_estimator_and_xs
Get KDE estimator for a given dataset, and generate a good set of points to sample the density at.
publications/PrADA/statistics_utils.py:76
↓ 2 callersFunction_get_point_estimates
Get point estimates for KDE distributions for two different datasets.
publications/PrADA/statistics_utils.py:97
↓ 2 callersMethod_mark_model
(self)
publications/ss_vfnas/architects/architect_two_party_preg.py:23
↓ 2 callersMethod_mark_model
(self)
publications/ss_vfnas/architects/architect_two_party_preg.py:80
↓ 2 callersMethod_parse
(self, kwargs)
datasets/federated_object_detection_benchmark/utils/config.py:77
↓ 2 callersFunction_slice_to_bounds
(slice_)
datasets/federated_object_detection_benchmark/data/util.py:189
↓ 2 callersFunction_unmap
(data, count, index, fill=0)
datasets/federated_object_detection_benchmark/model/utils/creator_tool.py:264
↓ 2 callersMethodaggregator_parameters
(self)
publications/PrADA/models/dann_models.py:620
↓ 2 callersFunctionbbox2loc
Encodes the source and the destination bounding boxes to "loc". Given bounding boxes, this function computes offsets and scales to match the
datasets/federated_object_detection_benchmark/model/utils/bbox_tools.py:80
↓ 2 callersMethodcalculate_domain_discriminator_correctness
(self, data, is_source=True)
publications/PrADA/models/dann_models.py:508
↓ 2 callersMethodcalculate_feature_group_embedding_list
(self, data)
publications/PrADA/models/dann_models.py:456
↓ 2 callersMethodchange_to_train_mode
(self)
publications/PrADA/models/dann_models.py:278
↓ 2 callersMethodcheck_discriminator_exists
(self)
publications/PrADA/models/dann_models.py:271
↓ 2 callersMethodcompute_aggregate_acc
(self)
publications/FedCG/servers/fedcg.py:94
↓ 2 callersMethodcompute_aggregate_acc
(self)
publications/FedCG/servers/feddf.py:92
↓ 2 callersMethodcompute_classification_loss
(self, data, label)
publications/PrADA/models/dann_models.py:481
↓ 2 callersMethodcompute_epoch_patience_count
(self, validation_patience_count, num_validations_per_epoch)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:179
↓ 2 callersMethodcompute_loss
(self, source_data, target_data, domain_source_labels, domain_target_labels, **kwargs)
publications/PrADA/models/dann_models.py:631
↓ 2 callersMethodcompute_number_validations
(self, num_batches_per_epoch)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:164
↓ 2 callersFunctioncreate_degree_src_tgt_data
(p_census, from_dir, to_dir,
publications/PrADA/data_process/census_process/census_prepare_data.py:73
↓ 2 callersFunctioncreate_embedding
(size)
publications/PrADA/models/dann_models.py:10
↓ 2 callersFunctioncreate_embedding_dict
create embedding dictionary for categorical features/columns
publications/PrADA/experiments/ppd_loan/train_ppd_fg_adapt_pretrain.py:73
↓ 2 callersFunctioncreate_embedding_dict
(embedding_dim_map)
publications/PrADA/experiments/income_census/train_census_fg_adapt_pretrain.py:64
↓ 2 callersFunctioncreate_ppd_src_tgt_data
(df_dict, df_column_split_list, df_cat_mask_list,
publications/PrADA/data_process/ppd_process/ppd_prepare_data.py:78
↓ 2 callersFunctiondeg2rad
(deg)
datasets/Fed_Multiview_Gen/phong.py:217
↓ 2 callersFunctiondo_model
(model_path, image_dir, cameras)
datasets/Fed_Multiview_Gen/phong.py:149
↓ 2 callersFunctiondraw_distribution
(df_src_data, df_tgt_data, num_points, dim_reducer, tag, feature_group_name, to_dir, version)
publications/PrADA/utils.py:237
↓ 2 callersMethodeval
(self, dataloader, faster_rcnn, test_num=10000)
datasets/federated_object_detection_benchmark/model/model_wrapper.py:228
↓ 2 callersMethodevaluate
(self)
datasets/federated_object_detection_benchmark/fl_client.py:53
↓ 2 callersMethodextractor_parameters
(self)
publications/PrADA/models/dann_models.py:617
↓ 2 callersFunctionfinetune_census
(pretrain_task_id, census_pretain_model_root_dir, census_finetune_targ
publications/PrADA/experiments/income_census/train_census_utils.py:78
↓ 2 callersFunctionfinetune_ppd
(dann_task_id, ppd_pretain_model_root_dir, ppd_finetune_target_root_dir,
publications/PrADA/experiments/ppd_loan/train_ppd_utils.py:82
↓ 2 callersMethodfit
(self, feat_list)
publications/PrADA/models/interaction_models.py:53
↓ 2 callersMethodforward
(self, x)
publications/PrADA/models/feature_extractor.py:12
↓ 2 callersMethodfreeze_bottom
(self, is_freeze=False, region_idx_list=None)
publications/PrADA/models/dann_models.py:221
↓ 2 callersMethodfreeze_source_classifier
(self, is_freeze=False)
publications/PrADA/models/dann_models.py:217
↓ 2 callersMethodget_data
(self, target_labels, data_type, binary_classification=True, num_samples=None)
datasets/NUS_WIDE/nus_wide_data_util.py:126
↓ 2 callersMethodget_example
Returns the i-th example. Returns a color image and bounding boxes. The image is in CHW format. The returned image is RGB. A
datasets/federated_object_detection_benchmark/data/voc_dataset.py:87
↓ 2 callersFunctionget_latest_timestamp
(timestamped_file_name, folder)
publications/PrADA/utils.py:29
↓ 2 callersMethodget_num_feature_groups
(self)
publications/PrADA/models/interaction_models.py:316
↓ 2 callersMethodget_weights
(self)
datasets/federated_object_detection_benchmark/fl_client.py:38
↓ 2 callersFunctionload_json
(filename)
datasets/federated_object_detection_benchmark/model/model_wrapper.py:30
↓ 2 callersFunctionload_kernel
(kernel_name, code, **kwargs)
datasets/federated_object_detection_benchmark/model/roi_module.py:15
↓ 2 callersFunctionloc2bbox
Decode bounding boxes from bounding box offsets and scales. Given bounding box offsets and scales computed by :meth:`bbox2loc`, this function
datasets/federated_object_detection_benchmark/model/utils/bbox_tools.py:8
↓ 2 callersMethodlocal_val
(self)
publications/FedCG/clients/local.py:94
↓ 2 callersFunctionnon_maximum_suppression
Suppress bounding boxes according to their IoUs. This method checks each bounding box sequentially and selects the bounding box if the Inters
datasets/federated_object_detection_benchmark/model/utils/nms/non_maximum_suppression.py:24
↓ 2 callersFunctionnormal_init
weight initalizer: truncated normal and random normal.
datasets/federated_object_detection_benchmark/model/faster_rcnn_vgg16.py:150
↓ 2 callersFunctionpad_to_square
(img, pad_value)
datasets/federated_object_detection_benchmark/utils/datasets.py:15
↓ 2 callersFunctionparse_domain_data
(data, column_name_list, df_group_ind_list, df_group_info_list)
publications/PrADA/experiments/ppd_loan/train_ppd_fg_adapt_pretrain.py:25
↓ 2 callersFunctionplot
(genotype, filename)
publications/ss_vfnas/visualize.py:6
↓ 2 callersMethodpredict
Detect objects from images. This method predicts objects for each image. Args: imgs (iterable of numpy.ndarray): Arrays
datasets/federated_object_detection_benchmark/model/faster_rcnn.py:187
↓ 2 callersFunctionpretrain_census
(data_tag, census_dann_root_dir, learner_hyperparameters,
publications/PrADA/experiments/income_census/train_census_utils.py:7
↓ 2 callersFunctionpretrain_ppd
(data_tag, dann_root_dir, learner_hyperparameters, data_hyp
publications/PrADA/experiments/ppd_loan/train_ppd_utils.py:9
↓ 2 callersFunctionprocess
(data_path, to_dir=None, train=True)
publications/PrADA/data_process/census_process/census_prepare_data.py:44
↓ 2 callersFunctionresize
(image, size)
datasets/federated_object_detection_benchmark/utils/datasets.py:28
↓ 2 callersFunctionretrieve_top_k_labels
retrieve top k labels that occur most in all samples. Parameters ---------- data_dir: the directory that stores NUS-WIDE data.
datasets/NUS_WIDE/nus_wide_data_util.py:14
↓ 2 callersFunctionrun_one_time
(model_path, dst_dir, phi=60, theta_interval=30, phi_offset=0, theta_offset=0)
datasets/Fed_Multiview_Gen/main.py:41
↓ 2 callersMethodsave_model
(self, task_id, timestamp)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:86
↓ 2 callersMethodset_model_save_info
(self, model_root)
publications/PrADA/models/experiment_finetune_target_learner.py:23
↓ 2 callersMethodset_weights
(self, new_weights)
datasets/federated_object_detection_benchmark/fl_client.py:41
↓ 2 callersFunctionstandardize_census_data
(data_frame, cols_to_standardize, train_scaler=None)
publications/PrADA/data_process/census_process/census_degree_process_utils.py:37
↓ 2 callersFunctiont2c
(variable)
datasets/federated_object_detection_benchmark/model/roi_module.py:109
↓ 2 callersFunctiontest_eq
(variable, array, info)
datasets/federated_object_detection_benchmark/model/roi_module.py:113
↓ 2 callersFunctiontest_model
(task_id, init_model, trained_model_root_folder, target_test_loader)
publications/PrADA/experiments/test_utils.py:4
↓ 2 callersMethodtrain_dann
(self, epochs, task_id, metric=('ks', 'auc'),
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:193
↓ 2 callersMethodtrain_target_models
(self, epochs, optimizer,
publications/PrADA/models/experiment_finetune_target_learner.py:40
↓ 2 callersMethodtrain_target_with_alternating
(self, global_epochs, top_epochs,
publications/PrADA/models/experiment_finetune_target_learner.py:111
↓ 2 callersMethodtrain_wo_adaption
(self, epochs, lr, task_id,
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:89
↓ 2 callersFunctionwire_fg_dann_global_model
wire up all models together as a single model for end-to-end training parameters: ---------- embedding_dict - the embedding dictiona
publications/PrADA/models/model_config.py:70
↓ 2 callersFunctionxywh2xyxy
(x)
datasets/federated_object_detection_benchmark/utils/utils.py:53
↓ 1 callersMethod__init__
(self, outh, outw, spatial_scale)
datasets/federated_object_detection_benchmark/model/roi_module.py:30
↓ 1 callersMethod__init__
(self, n_class, roi_size, spatial_scale, classifier)
datasets/federated_object_detection_benchmark/model/faster_rcnn_vgg16.py:100
↓ 1 callersMethod__init__
(self, num_classes, layers, u_dim=64, k=2)
publications/ss_vfnas/models/manual_k_party_chexpert.py:8
↓ 1 callersMethod__init__
(self, num_classes, layers, u_dim=64, k=2)
publications/ss_vfnas/models/manual_k_party.py:8
↓ 1 callersMethod__init__
(self)
publications/FedCG/dataset.py:104
↓ 1 callersFunction__test
()
datasets/federated_object_detection_benchmark/model/utils/bbox_tools.py:186
↓ 1 callersMethod_backward_step
(self, input_valid, target_valid)
publications/ss_vfnas/architects/architect.py:41
↓ 1 callersMethod_backward_step_unrolled
(self, input_train, target_train, input_valid, target_valid, eta, network_optimizer)
publications/ss_vfnas/architects/architect.py:45
↓ 1 callersMethod_calc_ious
(self, anchor, bbox, inside_index)
datasets/federated_object_detection_benchmark/model/utils/creator_tool.py:252
↓ 1 callersMethod_calculate_feature_group_output_list
(self, deep_par_list)
publications/PrADA/models/dann_models.py:441
↓ 1 callersFunction_call_nms_kernel
(bbox, thresh)
datasets/federated_object_detection_benchmark/model/utils/nms/non_maximum_suppression.py:159
↓ 1 callersMethod_change_to_eval_mode
(self)
publications/PrADA/models/experiment_finetune_target_learner.py:33
↓ 1 callersMethod_change_to_train_mode
(self)
publications/PrADA/models/experiment_finetune_target_learner.py:30
↓ 1 callersMethod_check_exists
(self)
publications/PrADA/models/experiment_adaptation_pretrain_learner.py:76
↓ 1 callersMethod_compile
(self, C, op_names, indices, concat, reduction)
publications/ss_vfnas/models/model_k_party_dp.py:28
← previousnext →101–200 of 933, ranked by callers