MCPcopy Create free account

hub / github.com/SegmentationBLWX/cssegmentation / functions

Functions242 in github.com/SegmentationBLWX/cssegmentation

↓ 134 callersMethodcopy
(self)
csseg/modules/utils/modulebuilder.py:69
↓ 53 callersMethodupdate
(self, requires_update_modules)
csseg/modules/utils/modulebuilder.py:72
↓ 33 callersMethodpop
(self, name)
csseg/modules/utils/modulebuilder.py:47
↓ 22 callersMethoditems
(self)
csseg/modules/utils/modulebuilder.py:57
↓ 20 callersMethodget
(self, name)
csseg/modules/utils/modulebuilder.py:52
↓ 14 callersMethodlog
(self, message, level='INFO', endwithnewline=True)
csseg/modules/utils/logger.py:16
↓ 8 callersMethodinfo
(self, message, endwithnewline=True)
csseg/modules/utils/logger.py:27
↓ 7 callersMethodcalculateseglosses
(self, seg_logits, seg_targets, losses_cfgs)
csseg/modules/models/segmentors/base.py:59
↓ 6 callersMethodkeys
(self)
csseg/modules/utils/modulebuilder.py:66
↓ 4 callersFunctionBuildDistributedModel
(model, model_cfg)
csseg/modules/parallel/model.py:11
↓ 4 callersMethodcheck
(self, value, center=1, bound=(0, float('inf')), clip_first_on_zero=True)
csseg/modules/datasets/pipelines/transforms.py:314
↓ 4 callersMethodloggingtraininginfo
(self, seg_losses_log_dict, losses_log_dict, init_losses_log_dict)
csseg/modules/runners/base.py:261
↓ 4 callersMethodmakelayer
(self, block, inplanes, planes, num_blocks, stride=1, dilation=1, contract_dilation=True, use_avg_for_downsamp
csseg/modules/models/encoders/resnet.py:211
↓ 4 callersMethodpad
(key, data_meta, padding, fill, padding_mode, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:87
↓ 4 callersMethodstep
(self, grad_scaler=None)
csseg/modules/models/schedulers/base.py:26
↓ 4 callersMethodtransforminputs
(self, inputs, selected_indices)
csseg/modules/models/segmentors/base.py:79
↓ 4 callersMethodzerograd
(self)
csseg/modules/models/schedulers/base.py:40
↓ 3 callersMethodentropy
(probabilities, eps=1e-8)
csseg/modules/runners/plop.py:124
↓ 3 callersMethodfeaturesdistillation
(history_distillation_feats, distillation_feats, reduction='mean', alpha=1., scale_factor=100)
csseg/modules/runners/ilt.py:58
↓ 3 callersFunctionloadckpts
(ckptspath, map_to_cpu=True)
csseg/modules/utils/io.py:31
↓ 3 callersFunctiontouchdir
(dirname)
csseg/modules/utils/io.py:14
↓ 3 callersMethodupdate
(self, seg_targets, seg_preds)
csseg/modules/datasets/pipelines/evaluators.py:31
↓ 2 callersFunctionBuildDistributedDataloader
(dataset, dataloader_cfg)
csseg/modules/parallel/dataloader.py:12
↓ 2 callersMethod__init__
(self, structure_type, in_channels=3, base_channels=64, stem_channels=64, depth=101, outstride=16, contract_di
csseg/modules/models/encoders/resnetilt.py:32
↓ 2 callersMethod__init__
(self, structure_type, in_channels=3, base_channels=64, stem_channels=64, depth=101, outstride=16, contract_di
csseg/modules/models/encoders/resnetrcil.py:97
↓ 2 callersMethod__init__
(self, structure_type, in_channels=3, base_channels=64, stem_channels=64, depth=101, outstride=16, contract_di
csseg/modules/models/encoders/resnetplop.py:63
↓ 2 callersMethod__init__
(self, structure_type, in_channels=3, base_channels=64, stem_channels=64, depth=101, outstride=16, contract_di
csseg/modules/models/encoders/resnet.py:106
↓ 2 callersMethodcentercrop
(key, data_meta, output_size, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:58
↓ 2 callersMethodconstructtransforms
(transform_settings)
csseg/modules/datasets/base.py:72
↓ 2 callersMethodcrop
(key, data_meta, top, left, height, width, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:210
↓ 2 callersMethodevaluate
(self)
csseg/modules/datasets/pipelines/evaluators.py:43
↓ 2 callersMethodfeaturesdistillation
(self, history_distillation_feats, distillation_feats, num_known_classes_list=None, dataset_type='VOCDataset',
csseg/modules/runners/rcil.py:191
↓ 2 callersMethodgetnumclassespertask
(task_name, tasks, task_id)
csseg/modules/datasets/base.py:144
↓ 2 callersMethodhflip
(key, data_meta, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:160
↓ 2 callersMethodisnorm
(module, norm_list=None)
csseg/modules/models/encoders/bricks/normalization/builder.py:39
↓ 2 callersMethodlambd
(key, data_meta, lambd, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:108
↓ 2 callersMethodlocalpod
(x, spp_scales=[1, 2, 4])
csseg/modules/runners/plop.py:166
↓ 2 callersFunctionparserequirefile
(fpath)
setup.py:49
↓ 2 callersMethodrandomrotate
(key, data_meta, angle, resample, expand, center, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:138
↓ 2 callersMethodresize
(key, data_meta, output_size, interpolation, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:37
↓ 2 callersMethodresizedcrop
(key, data_meta, top, left, height, width, size, interpolation, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:269
↓ 2 callersMethodstripzero
(labels)
csseg/modules/datasets/base.py:170
↓ 2 callersFunctionsymlink
(src_path, dst_path)
csseg/modules/utils/io.py:56
↓ 2 callersMethodsynchronize
(self, device=None)
csseg/modules/datasets/pipelines/evaluators.py:23
↓ 2 callersMethodtest
(self, cur_epoch)
csseg/modules/runners/base.py:226
↓ 2 callersMethodtrain
(self, cur_epoch)
csseg/modules/runners/base.py:193
↓ 2 callersMethodvflip
(key, data_meta, **kwargs)
csseg/modules/datasets/pipelines/transforms.py:182
↓ 1 callersMethod__init__
(self, mode, task_name, task_id, dataset_cfg)
csseg/modules/datasets/ade20k.py:75
↓ 1 callersMethod__init__
(self, mode, task_name, task_id, dataset_cfg)
csseg/modules/datasets/voc.py:144
↓ 1 callersMethod__init__
(self, reduction='mean', ignore_index=255, scale_factor=1.0, weight=None, label_smoothing=None)
csseg/modules/models/losses/celoss.py:14
↓ 1 callersMethodactionsaftertask
(self)
csseg/modules/runners/base.py:177
↓ 1 callersMethodactionsbeforetask
(self)
csseg/modules/runners/base.py:174
↓ 1 callersMethodattention
(self, x)
csseg/modules/models/segmentors/ucd.py:37
↓ 1 callersMethodbuilddatagenerator
(self, mode, dataset_cfg)
csseg/modules/datasets/base.py:109
↓ 1 callersMethodcalculatesegloss
(self, seg_logits, seg_targets, losses_cfg)
csseg/modules/models/segmentors/base.py:51
↓ 1 callersMethodclipgradients
(self, params, max_norm=35, norm_type=2)
csseg/modules/models/schedulers/base.py:55
↓ 1 callersMethodcollectenv
(self)
csseg/modules/utils/env.py:20
↓ 1 callersFunctioncompute_prototype
(seg,features,classes)
csseg/modules/runners/reminder.py:145
↓ 1 callersMethodcontrastivelearning
(anchor_features, contrast_features, anchor_labels, contrast_labels, P=None, temperature=0.07, scale_factor=1.
csseg/modules/runners/ucd.py:91
↓ 1 callersMethodconvertabnckpt
(self, state_dict)
csseg/modules/models/encoders/resnet.py:247
↓ 1 callersMethodconvertsegmentors
(self)
csseg/modules/runners/rcil.py:25
↓ 1 callersMethodcswfeaturesdistillation
(logits_source, logits_target, seg_targets_mergepseudolabels, prototypes, temperature=3, delta=0.0, history_pr
csseg/modules/runners/reminder.py:101
↓ 1 callersMethodfasthist
(self, seg_target, seg_pred)
csseg/modules/datasets/pipelines/evaluators.py:36
↓ 1 callersMethodfeaturesdistillation
(history_distillation_feats, distillation_feats, pod_factor=0.01, pod_factor_last_scale=0.0005, spp_scales=[1,
csseg/modules/runners/plop.py:129
↓ 1 callersMethodfeaturesdistillation
(history_distillation_feats, distillation_feats, reduction='mean', alpha=1., scale_factor=10)
csseg/modules/runners/mib.py:58
↓ 1 callersMethodfeaturesdistillationchannel
(history_distillation_feats, distillation_feats, num_known_classes_list=None, dataset_type='VOCDataset')
csseg/modules/runners/rcil.py:201
↓ 1 callersMethodfeaturesdistillationspatial
(history_distillation_feats, distillation_feats, num_known_classes_list=None, dataset_type='VOCDataset', spp_s
csseg/modules/runners/rcil.py:238
↓ 1 callersMethodfilterimages
(dataset, labels, history_labels=None, overlap=True)
csseg/modules/datasets/base.py:149
↓ 1 callersMethodfindmedianforpseudolabeling
(self)
csseg/modules/runners/plop.py:78
↓ 1 callersFunctiongenpackagesitems
()
setup.py:57
↓ 1 callersMethodgetcudahome
(self)
csseg/modules/utils/env.py:126
↓ 1 callersMethodgetmusahome
(self)
csseg/modules/utils/env.py:137
↓ 1 callersMethodgetpytorchbuildconfig
(self)
csseg/modules/utils/env.py:150
↓ 1 callersMethodgettasklabels
(task_name, tasks, task_id)
csseg/modules/datasets/base.py:138
↓ 1 callersMethodgetwarmuplr
(self, cur_iter, warmup_cfg, regular_lr)
csseg/modules/models/schedulers/base.py:43
↓ 1 callersMethodglobalpooling
(self, x)
csseg/modules/models/decoders/aspphead.py:66
↓ 1 callersMethodglobalpooling
(self, x)
csseg/modules/models/decoders/rcilaspphead.py:96
↓ 1 callersMethodgroupparams
(self, model, paramwise_cfg, filter_params, optimizer_cfg, params, prefix='')
csseg/modules/models/optimizers/paramsconstructor.py:31
↓ 1 callersMethodinitaddedclassifier
(self, device=None)
csseg/modules/models/segmentors/mib.py:19
↓ 1 callersMethodinitparams
(self, nonlinearity, param=None)
csseg/modules/models/decoders/rcilaspphead.py:52
↓ 1 callersMethodismusaavailable
(self)
csseg/modules/utils/env.py:119
↓ 1 callersMethodisrocmpytorch
(self)
csseg/modules/utils/env.py:140
↓ 1 callersFunctionloadpicklefile
(filepath)
csseg/modules/utils/io.py:49
↓ 1 callersFunctionloadpretrainedweights
(structure_type, pretrained_model_path='', pretrained_weights_table={}, map_to_cpu=True, possible_model_keys=[
csseg/modules/utils/io.py:64
↓ 1 callersMethodparse
(self, cfg_file_path)
csseg/modules/utils/configparser.py:39
↓ 1 callersFunctionparsecmdargs
()
csseg/train.py:18
↓ 1 callersFunctionparsecmdargs
()
csseg/test.py:16
↓ 1 callersFunctionparseline
(line)
setup.py:23
↓ 1 callersFunctionparserequirements
(fname='requirements.txt', with_version=True)
setup.py:20
↓ 1 callersMethodprepare
(self, dataset_cfg, transforms, data_generator)
csseg/modules/datasets/base.py:112
↓ 1 callersMethodpreprocessforcontrastivelearning
(decoder_outputs, seg_targets, history_seg_logits, history_decoder_outputs, num_known_classes=None)
csseg/modules/runners/ucd.py:123
↓ 1 callersMethodregister
(self, name, module)
csseg/modules/utils/modulebuilder.py:29
↓ 1 callersMethodrenew
(self, name, module)
csseg/modules/utils/modulebuilder.py:34
↓ 1 callersMethodreset
(self)
csseg/modules/datasets/pipelines/evaluators.py:19
↓ 1 callersMethodsave
(self, work_dir='')
csseg/modules/utils/configparser.py:51
↓ 1 callersFunctionsaveaspickle
(data, savepath)
csseg/modules/utils/io.py:42
↓ 1 callersFunctionsaveckpts
(ckpts, savepath)
csseg/modules/utils/io.py:25
↓ 1 callersMethodsetstate
(self, state_dict)
csseg/modules/models/schedulers/base.py:67
↓ 1 callersMethodstart
(self)
csseg/train.py:37
↓ 1 callersMethodstart
(self)
csseg/test.py:35
next →1–100 of 242, ranked by callers