MCPcopy Create free account

hub / github.com/DingXiaoH/GSM-SGD / functions

Functions233 in github.com/DingXiaoH/GSM-SGD

Methodforward
(self, x)
base_model/resnet.py:121
Methodforward
(self, x)
base_model/resnet.py:173
Methodget_all_conv_kernel_namedvalue_as_list
(self)
utils/engine.py:221
Methodget_all_kernel_namedvalue_as_list
(self)
utils/engine.py:228
Methodget_lr
(self)
utils/lr_scheduler.py:39
Methodget_param_value_by_name
(self, name)
utils/engine.py:235
Functionget_time_str
(time_diff)
utils/timer.py:44
Functionis_main_process
()
utils/torch_utils.py:29
Functionlink_file
symbol link the source directorie to target
utils/pyt_utils.py:58
Functionload_checkpoint
(file_name, net = None, optimizer = None, lr_scheduler = None)
utils/misc.py:150
Functionmake_symlink
Note: overwriting enabled!
utils/misc.py:169
Functionmkdir
(path)
utils/misc.py:133
Functionmy_reduce_dic
(dic)
utils/comm.py:118
Functionparse_usual_lr_schedule
(try_arg, keyword='lrs{}')
constants.py:11
Functionrc_all_cov_layers
(n)
constants.py:167
Functionrc_all_survey_layers
(n)
constants.py:164
Functionrc_fc_layer_idx
(n)
constants.py:194
Functionrc_flattened_deps_by_stage
(rc_n, stage2, stage3, stage4)
constants.py:202
Functionrc_internal_scaled_flattened_deps
(rc_n, scale_factor)
constants.py:235
Functionrc_stage_to_pacesetter_idx
(n)
constants.py:198
Functionrc_succeeding_strategy
(n)
constants.py:179
Functionreduce_dict
Args: input_dict (dict): all the values will be reduced average (bool): whether to do average or sum Reduce the values in the
utils/torch_utils.py:91
Functionresnet_bottleneck_33_kernel_indices
(res_n)
constants.py:321
Functionresnet_bottleneck_flattened_deps_shrink_by_stage
(res_n, shrink_ratio, only_internals=True)
constants.py:335
Functionresnet_bottleneck_succeeding_strategy
(res_n)
constants.py:369
Functionsave_args
(args, save_dir = None)
utils/misc.py:120
Methodset_BN_config
(self, eps, momentum, affine, track_running_stats)
builder.py:17
Functionstart_exp
()
utils/misc.py:54
Methodstate_values
(self)
utils/engine.py:242
Functionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
utils/torch_utils.py:33
Functionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
utils/comm.py:35
Methodtic
(self)
utils/timer.py:16
Methodtoc
(self, average=True)
utils/timer.py:21
← previous201–233 of 233, ranked by callers