MCPcopy Create free account

hub / github.com/BIT-DA/SDCA / functions

Functions170 in github.com/BIT-DA/SDCA

↓ 17 callersMethodupdate
(self, val, n=1)
core/utils/misc.py:31
↓ 11 callersFunctionbuild_dataset
(cfg, mode='train', is_source=True, epochwise=False)
core/datasets/build.py:71
↓ 11 callersFunctionmkdir
(path)
core/utils/misc.py:11
↓ 11 callersMethodupdate
(self, **kwargs)
core/utils/metric_logger.py:41
↓ 10 callersMethodsave
(self, name)
core/utils/semantic_dist_estimator.py:89
↓ 9 callersFunctionbuild_classifier
(cfg)
core/models/build.py:22
↓ 9 callersFunctionbuild_feature_extractor
(cfg)
core/models/build.py:9
↓ 8 callersFunction_vgg
(arch, cfg, batch_norm, pretrained, progress, pretrained_weights, **kwargs)
core/models/vgg.py:88
↓ 7 callersFunction_resnet
(arch, block, layers, pretrained, progress, pretrained_weights, **kwargs)
core/models/resnet.py:210
↓ 7 callersFunctionsetup_logger
(name, save_dir, distributed_rank, filename="log.txt")
core/utils/logger.py:6
↓ 5 callersFunctionmean
nanmean compatible with generators.
core/utils/lovasz_loss.py:237
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
core/models/resnet.py:168
↓ 4 callersMethodget
(name, mode, num_classes, max_iters=None, transform=None, cfg=None)
core/datasets/dataset_path_catalog.py:35
↓ 4 callersFunctionintersectionAndUnionGPU
(output, target, K, ignore_index=255)
core/utils/misc.py:53
↓ 4 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
test.py:23
↓ 4 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
pseudo_label.py:20
↓ 3 callersFunctionadjust_learning_rate
(method, base_lr, iters, max_iters, power)
core/solver/build.py:4
↓ 3 callersFunctionconv1x1
1x1 convolution
core/models/resnet.py:28
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
core/models/resnet.py:22
↓ 3 callersFunctionflatten_binary_scores
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
core/utils/lovasz_loss.py:117
↓ 3 callersFunctionget_color_pallete
(npimg, dataset='voc')
core/utils/misc.py:68
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_group=6
core/models/resnet.py:118
↓ 2 callersFunctionflatten_probas
Flattens predictions in the batch
core/utils/lovasz_loss.py:206
↓ 2 callersFunctioninference
(feature_extractor, classifier, image, label, flip=True)
test.py:33
↓ 2 callersFunctionlovasz_grad
Computes gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
core/utils/lovasz_loss.py:21
↓ 2 callersFunctionlovasz_hinge_flat
Binary Lovasz hinge loss logits: [P] Variable, logits at each prediction (between -\infty and +\infty) labels: [P] Tensor, binary gro
core/utils/lovasz_loss.py:97
↓ 2 callersFunctionlovasz_softmax
Multi-class Lovasz-Softmax loss probas: [B, C, H, W] Variable, class probabilities at each prediction (between 0 and 1). Inte
core/utils/lovasz_loss.py:157
↓ 2 callersFunctionlovasz_softmax_flat
Multi-class Lovasz-Softmax loss probas: [P, C] Variable, class probabilities at each prediction (between 0 and 1) labels: [P] Tensor,
core/utils/lovasz_loss.py:175
↓ 2 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
tsne.py:26
↓ 2 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
train_src.py:24
↓ 2 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
semantic_dist_init.py:26
↓ 2 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
train_sdca.py:32
↓ 2 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
train_ssl.py:22
↓ 2 callersFunctiontransform_color
(pred)
test.py:48
↓ 1 callersMethod__init__
(self, backbone_name, pretrained_weights=None, aux=False, pretrained_backbone=True, freeze_bn=False)
core/models/feature_extractor.py:8
↓ 1 callersFunction_getvocpallete
(num_cls)
core/utils/misc.py:105
↓ 1 callersMethod_initialize_weights
(self)
core/models/vgg.py:50
↓ 1 callersFunction_setup_size
(size, error_msg)
core/datasets/transform.py:235
↓ 1 callersFunctionbuild_transform
data augmentation from FADA and combine SimCLR (GaussianBlur & Grayscale) Args: cfg: mode: train or test is_source: i
core/datasets/build.py:5
↓ 1 callersFunctiondraw
(tSNE_features, tSNE_labels, name, cfg)
tsne.py:85
↓ 1 callersFunctiongenerate_label_info
()
datasets/generate_gtav_label_info.py:41
↓ 1 callersFunctiongenerate_label_info
()
datasets/generate_synthia_label_info.py:56
↓ 1 callersMethodget_params
(img, output_size)
core/datasets/transform.py:115
↓ 1 callersMethodget_params
(sigma_min, sigma_max)
core/datasets/transform.py:271
↓ 1 callersFunctionget_threshold
(cfg)
pseudo_label.py:70
↓ 1 callersMethodget_threshold_const
(self, thred)
core/utils/pseudo_label.py:35
↓ 1 callersFunctioninference
(feature_extractor, classifier, image, label)
tsne.py:36
↓ 1 callersFunctioninference
(feature_extractor, classifier, image, label, flip=True)
pseudo_label.py:30
↓ 1 callersMethodinit
(self, feature_num, resume="")
core/utils/semantic_dist_estimator.py:20
↓ 1 callersFunctionmain
()
tsne.py:97
↓ 1 callersFunctionmain
()
test.py:255
↓ 1 callersFunctionmain
()
pseudo_label.py:199
↓ 1 callersFunctionmain
()
train_src.py:205
↓ 1 callersFunctionmain
()
semantic_dist_init.py:140
↓ 1 callersFunctionmain
()
train_sdca.py:344
↓ 1 callersFunctionmain
()
train_ssl.py:189
↓ 1 callersFunctionmain
()
datasets/generate_gtav_label_info.py:70
↓ 1 callersFunctionmain
()
datasets/generate_synthia_label_info.py:85
↓ 1 callersFunctionmake_layers
(cfg, batch_norm=False)
core/models/vgg.py:64
↓ 1 callersFunctionplot_embedding
(data, label, title)
tsne.py:69
↓ 1 callersMethodreset
(self)
core/utils/misc.py:25
↓ 1 callersFunctionrun_test
(cfg, feature_extractor, classifier, local_rank, distributed)
train_sdca.py:279
↓ 1 callersMethodsave_results
(self)
core/utils/pseudo_label.py:17
↓ 1 callersFunctionsemantic_dist_init
(cfg)
semantic_dist_init.py:36
↓ 1 callersFunctiontest
(cfg)
test.py:73
↓ 1 callersFunctiontest
(cfg, thres_const)
pseudo_label.py:117
↓ 1 callersFunctiontest_all
(cfg)
test.py:147
↓ 1 callersFunctiontrain
(cfg, local_rank, distributed)
train_src.py:37
↓ 1 callersFunctiontrain
(cfg, local_rank, distributed)
train_sdca.py:42
↓ 1 callersFunctiontrain
(cfg, local_rank, distributed)
train_ssl.py:35
↓ 1 callersMethodupdate_pseudo_label
(self, input)
core/utils/pseudo_label.py:21
Method__call__
(self, image, label)
core/datasets/transform.py:21
Method__call__
(self, image, label)
core/datasets/transform.py:36
Method__call__
(self, image, label)
core/datasets/transform.py:46
Method__call__
(self, image, label)
core/datasets/transform.py:60
Method__call__
(self, image, label)
core/datasets/transform.py:79
Method__call__
(self, image, label)
core/datasets/transform.py:125
Method__call__
(self, image, label)
core/datasets/transform.py:169
Method__call__
(self, image, label)
core/datasets/transform.py:194
Method__call__
(self, image, label)
core/datasets/transform.py:204
Method__call__
(self, image, label)
core/datasets/transform.py:225
Method__call__
(self, image, label)
core/datasets/transform.py:274
Method__call__
(self, image, label)
core/datasets/transform.py:293
Method__getattr__
(self, attr)
core/utils/metric_logger.py:48
Method__getitem__
(self, index)
core/datasets/gtav.py:122
Method__getitem__
(self, index)
core/datasets/synthia.py:121
Method__getitem__
(self, index)
core/datasets/cityscapes_soft_label.py:140
Method__getitem__
(self, index)
core/datasets/cityscapes.py:190
Method__init__
(self, cfg)
core/utils/loss.py:7
Method__init__
(self, cfg)
core/utils/pseudo_label.py:8
Method__init__
(self)
core/utils/misc.py:22
Method__init__
(self)
core/utils/lovasz_loss.py:133
Method__init__
(self, window_size=20)
core/utils/metric_logger.py:9
Method__init__
(self, delimiter="\t")
core/utils/metric_logger.py:37
Method__init__
(self, feature_num, cfg)
core/utils/semantic_dist_estimator.py:9
Method__init__
(self, data_root, data_list, max_iters=None,
core/datasets/gtav.py:15
Method__init__
( self, data_root, data_list, max_iters=None, num_
core/datasets/synthia.py:16
Method__init__
(self, transforms)
core/datasets/transform.py:18
Method__init__
(self, mean, std, to_bgr255=True)
core/datasets/transform.py:41
Method__init__
(self, size, resize_label=True)
core/datasets/transform.py:55
next →1–100 of 170, ranked by callers