Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DingXiaoH/GSM-SGD
/ functions
Functions
233 in github.com/DingXiaoH/GSM-SGD
⨍
Functions
233
◇
Types & classes
28
Method
forward
(self, x)
base_model/resnet.py:121
Method
forward
(self, x)
base_model/resnet.py:173
Method
get_all_conv_kernel_namedvalue_as_list
(self)
utils/engine.py:221
Method
get_all_kernel_namedvalue_as_list
(self)
utils/engine.py:228
Method
get_lr
(self)
utils/lr_scheduler.py:39
Method
get_param_value_by_name
(self, name)
utils/engine.py:235
Function
get_time_str
(time_diff)
utils/timer.py:44
Function
is_main_process
()
utils/torch_utils.py:29
Function
link_file
symbol link the source directorie to target
utils/pyt_utils.py:58
Function
load_checkpoint
(file_name, net = None, optimizer = None, lr_scheduler = None)
utils/misc.py:150
Function
make_symlink
Note: overwriting enabled!
utils/misc.py:169
Function
mkdir
(path)
utils/misc.py:133
Function
my_reduce_dic
(dic)
utils/comm.py:118
Function
parse_usual_lr_schedule
(try_arg, keyword='lrs{}')
constants.py:11
Function
rc_all_cov_layers
(n)
constants.py:167
Function
rc_all_survey_layers
(n)
constants.py:164
Function
rc_fc_layer_idx
(n)
constants.py:194
Function
rc_flattened_deps_by_stage
(rc_n, stage2, stage3, stage4)
constants.py:202
Function
rc_internal_scaled_flattened_deps
(rc_n, scale_factor)
constants.py:235
Function
rc_stage_to_pacesetter_idx
(n)
constants.py:198
Function
rc_succeeding_strategy
(n)
constants.py:179
Function
reduce_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
Function
resnet_bottleneck_33_kernel_indices
(res_n)
constants.py:321
Function
resnet_bottleneck_flattened_deps_shrink_by_stage
(res_n, shrink_ratio, only_internals=True)
constants.py:335
Function
resnet_bottleneck_succeeding_strategy
(res_n)
constants.py:369
Function
save_args
(args, save_dir = None)
utils/misc.py:120
Method
set_BN_config
(self, eps, momentum, affine, track_running_stats)
builder.py:17
Function
start_exp
()
utils/misc.py:54
Method
state_values
(self)
utils/engine.py:242
Function
synchronize
Helper function to synchronize (barrier) among all processes when using distributed training
utils/torch_utils.py:33
Function
synchronize
Helper function to synchronize (barrier) among all processes when using distributed training
utils/comm.py:35
Method
tic
(self)
utils/timer.py:16
Method
toc
(self, average=True)
utils/timer.py:21
← previous
201–233 of 233, ranked by callers