MCPcopy Create free account

hub / github.com/SymbioticLab/Oort / functions

Functions424 in github.com/SymbioticLab/Oort

↓ 1 callersMethodget_delta_w
(self, nestedLr=0.01)
training/utils/utils_model.py:58
↓ 1 callersFunctionget_grid_locations
Wrapper for np.meshgrid.
training/utils/sparse_image_warp.py:114
↓ 1 callersFunctionget_l1_distance
(norm_global, results, N)
testing/plot_figure16.py:85
↓ 1 callersMethodget_median_reward
(self)
training/helper/clientSampler.py:199
↓ 1 callersMethodget_seq_lens
Given a 1D Tensor or Variable containing integer sequence lengths, return a 1D tensor or variable containing the size sequences that
training/utils/voice_model.py:207
↓ 1 callersFunctioninit_logging
()
training/fl_aggregator_libs.py:7
↓ 1 callersFunctioninit_logging
()
training/fl_client_libs.py:7
↓ 1 callersFunctioninit_myprocesses
(rank, size, model, q, param_q, stop_flag, fn, backend, client_cfg)
training/learner.py:87
↓ 1 callersFunctioninit_myprocesses
(rank, size, model, queue, param_q, stop_signal, fn, backend)
training/param_server.py:78
↓ 1 callersMethodinit_weights
(self)
training/utils/models.py:461
↓ 1 callersFunctioninitiate_aggregator_setting
()
training/fl_aggregator_libs.py:20
↓ 1 callersFunctioninitiate_channel
()
training/learner.py:623
↓ 1 callersFunctioninitiate_channel
()
training/param_server.py:483
↓ 1 callersFunctioninitiate_client_setting
()
training/fl_client_libs.py:20
↓ 1 callersFunctioninitiate_sampler_query
(queue, numOfClients)
training/param_server.py:25
↓ 1 callersMethodinject_noise
(self, data)
training/utils/voice_data_loader.py:71
↓ 1 callersMethodinject_noise_sample
(self, data, noise_path, noise_level)
training/utils/voice_data_loader.py:76
↓ 1 callersFunctioninterpolate_bilinear
Similar to Matlab's interp2 function. Finds values for query points on a grid using bilinear interpolation. Args: grid: a 4-D float `Tenso
training/utils/sparse_image_warp.py:317
↓ 1 callersFunctioninterpolate_spline
(train_points, train_values, query_points, order, regularization_weight=0.0, )
training/utils/sparse_image_warp.py:132
↓ 1 callersMethodisClientActive
(self, clientId, cur_time)
training/helper/clientSampler.py:162
↓ 1 callersMethodloadFilterInfo
(self)
training/utils/divide_data.py:139
↓ 1 callersMethodloadFilterInfoBase
(self)
training/utils/divide_data.py:184
↓ 1 callersMethodload_client_mapping
(self, mapping_path)
training/utils/voice_data_loader.py:181
↓ 1 callersMethodload_file
(self, path)
training/utils/femnist.py:107
↓ 1 callersMethodload_file
(self, path, is_train)
training/utils/stackoverflow.py:159
↓ 1 callersMethodload_file
(self, path)
training/utils/openImg.py:123
↓ 1 callersMethodload_file
(self, path)
training/utils/speech.py:129
↓ 1 callersMethodload_file
(self, path, is_train)
training/utils/reddit.py:108
↓ 1 callersMethodload_model_package
(cls, package)
training/utils/voice_model.py:227
↓ 1 callersFunctionload_profiles
(datafile, sysfile)
testing/plot_figure17.py:78
↓ 1 callersFunctionload_randomly_augmented_audio
Picks tempo and gain uniformly, applies it to the utterance by using sox utility. Returns the augmented utterance.
training/utils/voice_data_loader.py:370
↓ 1 callersFunctionload_results
(file)
training/evals/plot_perf.py:61
↓ 1 callersFunctionload_results
(file)
testing/plot_figure16.py:97
↓ 1 callersMethodload_token_vocab
(self, vocab_size, path)
training/utils/reddit.py:102
↓ 1 callersFunctionload_yaml_conf
(yaml_file)
training/evals/manager.py:11
↓ 1 callersMethodlog_selection
(self)
training/utils/divide_data.py:473
↓ 1 callersFunctionlp_gurobi
See appendix G for detailed MILP formula
oort/utils/lp_gurobi.py:7
↓ 1 callersFunctionmain
(files)
training/evals/plot_perf.py:83
↓ 1 callersFunctionmobilenet_v2
Constructs a MobileNetV2 architecture from `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" <https://arxiv.org/abs/1801.04381>`_.
training/utils/mobilenet.py:164
↓ 1 callersFunctionmovingAvg
(arr, windows)
training/evals/plot_perf.py:68
↓ 1 callersMethodnextClientIdToRun
(self, hostId)
training/helper/clientSampler.py:100
↓ 1 callersMethodpacer
(self)
oort/oort.py:174
↓ 1 callersMethodparse_audio
:param audio_path: Path where audio is stored from the manifest file :return: Audio in training/testing format
training/utils/voice_data_loader.py:47
↓ 1 callersMethodparse_transcript
(self, transcript_path)
training/utils/voice_data_loader.py:204
↓ 1 callersMethodpartitionData
(self, sizes=None, sequential=0, ratioOfClassWorker=None, filter_class=0, args = None)
training/utils/divide_data.py:330
↓ 1 callersMethodpartitionDataByDefault
(self, sizes, sequential, ratioOfClassWorker, filter_class, _args)
training/utils/divide_data.py:310
↓ 1 callersMethodpartitionTraceBase
(self)
training/utils/divide_data.py:283
↓ 1 callersMethodpartitionTraceCV
(self, dataToClient)
training/utils/divide_data.py:201
↓ 1 callersMethodpartitionTraceSpeech
(self, dataToClient)
training/utils/divide_data.py:232
↓ 1 callersFunctionplot
(datas, xs, linelabels = None, label = None, y_label = "CDF", name = "ss.pdf", _type=-1)
testing/plot_figure16.py:20
↓ 1 callersFunctionplot_line
(datas, xs, linelabels = None, label = None, y_label = "CDF", name = "ss", _type=-1)
training/evals/plot_perf.py:15
↓ 1 callersFunctionprocess_cmd
(yaml_file)
training/evals/manager.py:16
↓ 1 callersFunctionprocess_dev
(data_file)
testing/plot_figure16.py:102
↓ 1 callersMethodprocess_string
(self, sequence, size, remove_repetitions=False)
training/utils/decoder.py:165
↓ 1 callersFunctionprune_client_tasks
(clientSampler, sampledClientsRealTemp, numToRealRun, global_virtual_clock)
training/param_server.py:100
↓ 1 callersMethodregisterClient
(self, hostId, clientId, dis, size, speed=[1.0, 1.0], duration=1)
training/helper/clientSampler.py:31
↓ 1 callersMethodregisterDuration
(self, clientId, batch_size, upload_epoch, model_size)
training/helper/clientSampler.py:58
↓ 1 callersMethodregisterReward
(self, reward)
training/helper/client.py:18
↓ 1 callersMethodregister_client
(self, clientId, feedbacks)
oort/oort.py:152
↓ 1 callersFunctionreport_data_info
(rank, queue)
training/learner.py:70
↓ 1 callersMethodresampleClients
(self, numOfClients, cur_time=0)
training/helper/clientSampler.py:165
↓ 1 callersFunctionresnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
training/utils/resnet_speech.py:199
↓ 1 callersFunctionresnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
training/utils/resnet_speech.py:211
↓ 1 callersFunctionresnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
training/utils/resnet_speech.py:163
↓ 1 callersFunctionresnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
training/utils/resnet_speech.py:175
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
training/utils/resnet_speech.py:187
↓ 1 callersFunctionrun_client
(clientId, cmodel, iters, learning_rate, argdicts = {})
training/learner.py:146
↓ 1 callersFunctionrun_query
Generate queries for fig 17 and plot results
testing/plot_figure17.py:92
↓ 1 callersFunctionrun_select_by_category
@ request_list: [num_requested_samples_class_x for class_x in requested_x]; @ data_distribution: numpy.array([client_id, num_samples_class_x]
oort/utils/lp.py:70
↓ 1 callersFunctionscan_models
(path)
training/learner.py:93
↓ 1 callersMethodselect_by_deviation
Testing selector that preserves data representativeness. Given the developer-specified tolerance `dev_target`, Oort can estimate the number
oort/oort.py:76
↓ 1 callersFunctionselect_by_sorted_num
(raw_datas, pref, budget)
oort/utils/lp.py:10
↓ 1 callersMethodselect_participant
@ num_of_clients: # of clients selected
oort/oort.py:245
↓ 1 callersFunctionsetup_seed
(seed)
training/learner.py:616
↓ 1 callersFunctionsetup_seed
(seed)
training/param_server.py:475
↓ 1 callersFunctionsolve_interpolation
(train_points, train_values, order, regularization_weight)
training/utils/sparse_image_warp.py:141
↓ 1 callersFunctionsparse_image_warp
(img_tensor, source_control_point_locations, dest_control_point_lo
training/utils/sparse_image_warp.py:88
↓ 1 callersFunctionspec_augment
Spec augmentation Calculation Function. 'SpecAugment' have 3 steps for audio data augmentation. first step is time warping using Tensorflow's
training/utils/spec_augment.py:68
↓ 1 callersFunctionterminate
(job_name)
training/evals/manager.py:100
↓ 1 callersFunctiontime_warp
(spec, W=5)
training/utils/spec_augment.py:48
↓ 1 callersFunctiontrain
Train the model
training/utils/nlp.py:302
↓ 1 callersMethodupdate_client_util
@ feedbacks['reward']: statistical utility @ feedbacks['duration']: system utility @ feedbacks['count']: times of involved
oort/oort.py:207
↓ 1 callersMethodupdate_duration
(self, clientId, duration)
oort/oort.py:252
↓ 1 callersMethodwer
Computes the Word Error Rate, defined as the edit distance between the two provided sentences after tokenizing to words. Argu
training/utils/decoder.py:43
Method__call__
(self, data)
training/utils/transforms_wav.py:24
Method__call__
(self, data)
training/utils/transforms_wav.py:42
Method__call__
(self, data)
training/utils/transforms_wav.py:58
Method__call__
(self, data)
training/utils/transforms_wav.py:71
Method__call__
(self, data)
training/utils/transforms_wav.py:88
Method__call__
(self, data)
training/utils/transforms_wav.py:102
Method__call__
(self, data)
training/utils/transforms_wav.py:123
Method__call__
(self, data)
training/utils/transforms_wav.py:139
Method__call__
(self, data)
training/utils/transforms_wav.py:154
Method__call__
(self, data)
training/utils/transforms_stft.py:23
Method__call__
(self, data)
training/utils/transforms_stft.py:38
Method__call__
(self, data)
training/utils/transforms_stft.py:56
Method__call__
(self, data)
training/utils/transforms_stft.py:79
Method__call__
(self, data)
training/utils/transforms_stft.py:91
Method__call__
(self, data)
training/utils/transforms_stft.py:109
Method__call__
(self, data)
training/utils/transforms_stft.py:121
← previousnext →101–200 of 424, ranked by callers