MCPcopy Create free account

hub / github.com/Songyue-Guo/FedGR / functions

Functions173 in github.com/Songyue-Guo/FedGR

↓ 60 callersMethoditem
(self)
utils.py:119
↓ 46 callersMethodadd
(self, x)
utils.py:115
↓ 15 callersFunctioncount_acc
(logits, label)
utils.py:123
↓ 14 callersFunctionappend_to_logs
(fpath, logs)
utils.py:75
↓ 14 callersFunctionconstruct_dataloaders
(clients, csets, gset, args)
tools.py:54
↓ 14 callersFunctionformat_logs
(logs)
utils.py:82
↓ 13 callersMethodstep
(self, closure=None, beta=0)
algorithms/perfedavg.py:35
↓ 9 callersFunctionconstruct_optimizer
(model, lr, args)
tools.py:92
↓ 7 callersMethod__init__
( self, n_layer=11, n_classes=10, use_bn=False, )
networks/basic_nets.py:204
↓ 3 callersMethod_make_layer
(self, block, planes, stride, num_blocks)
networks/basic_nets.py:393
↓ 3 callersMethodset_control_cuda
(self, control, cuda=True)
algorithms/scaffold.py:86
↓ 3 callersMethodset_control_cuda
(self, control, cuda=True)
algorithms/scaffoldrs.py:116
↓ 3 callersFunctionsetup_seed
(seed=3407)
utils.py:27
↓ 3 callersMethodtrain
(self)
algorithms/moon.py:59
↓ 2 callersMethod_initialize_global_optimizer
(self, model, args)
algorithms/fedopt.py:53
↓ 2 callersFunctionget_basic_net
(net, n_classes, input_size=None, input_channel=None)
networks/basic_nets.py:11
↓ 2 callersMethodinit_control
a dict type: {name: params}
algorithms/scaffold.py:93
↓ 2 callersMethodinit_control
a dict type: {name: params}
algorithms/scaffoldrs.py:123
↓ 2 callersFunctionmmd_rbf_noaccelerate
( source, target, kernel_mul=2.0, kernel_num=5, fix_sigma=None)
tools.py:38
↓ 2 callersMethodtest
(self, model, loader)
algorithms/feddyn.py:284
↓ 2 callersMethodtest
(self, model, loader)
algorithms/scaffold.py:314
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fedavg.py:181
↓ 2 callersMethodtest
(self, model, loader)
algorithms/moon.py:222
↓ 2 callersMethodtest
/******* @ description: @ param {*} self @ param {*} model @ param {*} test_loader @ return {*}
algorithms/fedgr.py:305
↓ 2 callersMethodtest
(self, model, loader)
algorithms/perfedavg.py:254
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fednova.py:360
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fedopt.py:231
↓ 2 callersMethodtest
(self, model, loader)
algorithms/pfedme.py:240
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fedaws.py:223
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fedprox.py:208
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fedrs.py:266
↓ 2 callersMethodtest
(self, model, loader)
algorithms/fedphp.py:302
↓ 2 callersMethodtest
(self, model, loader)
algorithms/scaffoldrs.py:358
↓ 2 callersMethodto_device
(self, grad_dict, device)
algorithms/feddyn.py:78
↓ 2 callersMethodtrain
(self)
algorithms/feddyn.py:85
↓ 2 callersMethodtrain
(self)
algorithms/scaffold.py:103
↓ 2 callersMethodtrain
(self)
algorithms/fedavg.py:49
↓ 2 callersMethodtrain
(self)
algorithms/fedgr.py:107
↓ 2 callersMethodtrain
(self)
algorithms/perfedavg.py:97
↓ 2 callersMethodtrain
(self)
algorithms/fednova.py:170
↓ 2 callersMethodtrain
(self)
algorithms/fedopt.py:76
↓ 2 callersMethodtrain
(self)
algorithms/pfedme.py:84
↓ 2 callersMethodtrain
(self)
algorithms/fedaws.py:70
↓ 2 callersMethodtrain
(self)
algorithms/fedprox.py:52
↓ 2 callersMethodtrain
(self)
algorithms/fedrs.py:74
↓ 2 callersMethodtrain
(self)
algorithms/fedphp.py:86
↓ 2 callersMethodtrain
(self)
algorithms/scaffoldrs.py:133
↓ 1 callersFunctionParseManager
()
main_fed.py:348
↓ 1 callersMethod__init__
( self, csets, gset, model, args )
algorithms/scaffold.py:55
↓ 1 callersMethod__init__
( self, csets, gset, model, args )
algorithms/fednova.py:145
↓ 1 callersMethod__init__
( self, csets, gset, model, args )
algorithms/pfedme.py:61
↓ 1 callersMethod__init__
( self, csets, gset, model, args )
algorithms/fedaws.py:47
↓ 1 callersMethod__init__
( self, csets, gset, model, args )
algorithms/scaffoldrs.py:65
↓ 1 callersMethodbuild_grad_dict
(self, model)
algorithms/feddyn.py:72
↓ 1 callersFunctionconstruct_algo
(args)
main_fed.py:98
↓ 1 callersFunctionconstruct_model
(args)
main_fed.py:71
↓ 1 callersMethodcontrastive_loss
(self, hs, hs0, hs1)
algorithms/moon.py:191
↓ 1 callersMethodconv3x3
(self, in_channel, out_channel)
networks/basic_nets.py:277
↓ 1 callersMethodcsets_class_info
(self)
algorithms/fedgr.py:384
↓ 1 callersFunctionformal_str
(x)
utils.py:83
↓ 1 callersMethodforward
(self)
algorithms/fedaws.py:32
↓ 1 callersMethodgenerate_mu
(self, client)
algorithms/fedphp.py:264
↓ 1 callersMethodget_client_dists
(self,csets,args)
algorithms/fedgr.py:91
↓ 1 callersMethodget_client_dists
(self, csets, args)
algorithms/fedrs.py:59
↓ 1 callersMethodget_client_dists
(self, csets, args)
algorithms/fedphp.py:72
↓ 1 callersMethodget_client_dists
(self, csets, args)
algorithms/scaffoldrs.py:102
↓ 1 callersMethodget_delta_model
return a dict: {name: params}
algorithms/scaffold.py:180
↓ 1 callersMethodget_delta_model
return a dict: {name: params}
algorithms/scaffoldrs.py:214
↓ 1 callersFunctionget_hypers
(algo)
main_fed.py:135
↓ 1 callersMethodget_local_grad_
(self, opt, cur_params, init_params)
algorithms/fednova.py:226
↓ 1 callersFunctionget_orth_weights
(d, c)
networks/basic_nets.py:57
↓ 1 callersMethodget_vgg_cfg
(self, n_layer)
networks/basic_nets.py:234
↓ 1 callersMethodglobal_update
/******* @ description: @ param {*} self @ param {*} r @ param {*} global_model @ param {*} all_client_model @ param {
algorithms/fedgr.py:353
↓ 1 callersFunctionguassian_kernel
( source, target, kernel_mul=2.0, kernel_num=5, fix_sigma=None)
tools.py:14
↓ 1 callersMethodlocal_update
/******* @ description : client local update process @ param {*} self @ param {int} r : communica
algorithms/fedgr.py:184
↓ 1 callersFunctionmain_cifar_label_scenes
(dataset, algo)
main_fed.py:311
↓ 1 callersFunctionmain_federated
(para_dict)
main_fed.py:227
↓ 1 callersMethodmake_layers
(self, cfg, init_c=3)
networks/basic_nets.py:284
↓ 1 callersMethodsave_logs
(self, fpath)
algorithms/moon.py:239
↓ 1 callersMethodset_model
(self,client,local_models)
algorithms/fedgr.py:381
↓ 1 callersMethodstep
(self, server_control, client_control, closure=None)
algorithms/scaffold.py:25
↓ 1 callersMethodstep
(self, closure=None)
algorithms/fednova.py:60
↓ 1 callersMethodstep
(self, local_weight_updated, closure=None)
algorithms/pfedme.py:35
↓ 1 callersMethodstep
(self, server_control, client_control, closure=None)
algorithms/scaffoldrs.py:35
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/feddyn.py:228
↓ 1 callersMethodupdate_global
(self, r, global_model, delta_models)
algorithms/scaffold.py:282
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/fedavg.py:163
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/moon.py:204
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/perfedavg.py:236
↓ 1 callersMethodupdate_global
(self, r, global_model, local_grads, tau_effs)
algorithms/fednova.py:323
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/fedopt.py:187
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/pfedme.py:217
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/fedaws.py:186
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models)
algorithms/fedprox.py:190
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models, weights)
algorithms/fedrs.py:247
↓ 1 callersMethodupdate_global
(self, r, global_model, local_models, weights)
algorithms/fedphp.py:283
↓ 1 callersMethodupdate_global
(self, r, global_model, delta_models)
algorithms/scaffoldrs.py:326
↓ 1 callersMethodupdate_global_classifier
(self, r, model)
algorithms/fedaws.py:204
↓ 1 callersMethodupdate_global_control
(self, r, control, delta_controls)
algorithms/scaffold.py:304
↓ 1 callersMethodupdate_global_control
(self, r, control, delta_controls)
algorithms/scaffoldrs.py:348
next →1–100 of 173, ranked by callers