MCPcopy Create free account

hub / github.com/TPCD/DCCL / functions

Functions480 in github.com/TPCD/DCCL

Method__len__
(self)
project_utils/sampler.py:65
Method__len__
(self)
project_utils/sampler.py:129
Method__len__
(self)
data/pets.py:120
Method__len__
(self)
data/food.py:106
Method__len__
(self)
data/data_utils.py:82
Method__len__
(self)
data/cifar.py:24
Method__len__
(self)
data/cifar.py:41
Method__len__
(self)
data/cub.py:115
Method__len__
(self)
data/flower.py:122
Method__len__
(self)
data/stanford_cars.py:66
Method__len__
(self)
methods/clustering/feature_vector_dataset.py:67
Method__repr__
(self)
data/fgvc_aircraft.py:117
Function_cutout
(image)
data/augmentations/cut_out.py:12
Method_init_weights
(self, m)
model/attribute_transformer.py:798
Method_init_weights
(self, m)
model/attribute_transformer.py:865
Method_init_weights
(self, m)
model/attribute_transformer.py:899
Method_init_weights
(self, m)
model/attribute_classifier.py:43
Method_init_weights
(self, m)
model/attribute_classifier.py:108
Method_init_weights
(self, m)
model/vision_transformer.py:166
Method_init_weights
(self, m)
model/vision_transformer.py:288
Method_init_weights
(self, m)
model/vision_transformer.py:378
Method_init_weights
(self, m)
model/vision_transformer.py:447
Method_init_weights
(self, m)
model/vision_transformer.py:518
Method_init_weights
(self, m)
model/vision_transformer.py:596
Method_init_weights
(self, m)
model/vision_transformer.py:719
Method_init_weights
(self, m)
model/vision_transformer.py:763
Method_init_weights
(self, m)
model/vision_transformer.py:795
Method_init_weights
(self, m)
model/vision_transformer.py:831
Method_log_all
(self, stats, log_fields, prefix=None, suffix=None, require_dict=False)
project_utils/visualization_utils.py:1098
Function_normalize
(image)
data/augmentations/cut_out.py:57
Function_to_tensor
(image)
data/augmentations/cut_out.py:43
Method_viz_logger
(*args, **kwargs)
project_utils/visualization_utils.py:877
Functionaccuracy
Computes the accuracy over the k top predictions for the specified values of k
project_utils/cluster_utils.py:172
Functionat10_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1076
Functionat10_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1067
Functionat11_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1094
Functionat11_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1085
Functionat12_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1112
Functionat12_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1103
Functionat13_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1130
Functionat13_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1121
Functionat14_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11, device=torch.cuda.device('cud
model/attribute_transformer.py:1147
Functionat14_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11, device=torch.cuda.device('cuda
model/attribute_transformer.py:1138
Functionat2_base
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:932
Functionat2_small
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:941
Functionat3_small
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:950
Functionat4_base
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:968
Functionat4_small
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:959
Functionat5_base
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:986
Functionat5_small
(pretrain_path, num_attribute=28, feat_channal=197, grad_from_block=11)
model/attribute_transformer.py:977
Functionat6_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1004
Functionat6_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:995
Functionat7_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1022
Functionat7_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1013
Functionat8_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1040
Functionat8_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1031
Functionat9_base
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1058
Functionat9_small
(pretrain_path, num_attribute=28, attribute_feat_channal=8, grad_from_block=11)
model/attribute_transformer.py:1049
Functionat_base
(pretrain_path)
model/attribute_transformer.py:923
Functionat_small
(pretrain_path)
model/attribute_transformer.py:914
Methodbackward
(ctx, grad_outputs)
project_utils/cluster_memory_utils.py:54
Functioncluster_by_infomap
基于infomap的聚类 :param nbrs: :param dists: :param pred_label_path: :return:
project_utils/infomap_cluster_utils.py:498
Functionevaluate_clustering
(y_true, y_pred)
project_utils/cluster_utils.py:22
Methodextra_repr
(self)
data/food.py:120
Methodextra_repr
(self)
data/flower.py:143
Functionextract_features2
(model, data_loader, print_freq=50)
project_utils/contrastive_utils.py:73
Functionextract_features_dino
(model, loader, save_dir)
methods/clustering/extract_features.py:25
Functionextract_features_timm
(model, loader, save_dir)
methods/clustering/extract_features.py:48
Functionf
(img1, v)
data/augmentations/randaugment.py:151
Functionfake_label_kmeans
(model, test_loader, epoch, save_name, device, args, logger_class=None, K=200)
project_utils/k_means_utils.py:290
Methodfit_mix_once
(self, u_feats, l_feats, l_targets, random_state)
methods/clustering/faster_mix_k_means_pytorch.py:161
Methodforward
(ctx, inputs, targets, features, momentum)
project_utils/cluster_memory_utils.py:12
Methodforward
(ctx, inputs, targets, features, momentum)
project_utils/cluster_memory_utils.py:45
Methodforward
(self, inputs, targets)
project_utils/cluster_memory_utils.py:100
Methodforward
Compute loss for model. If both `labels` and `mask` are None, it degenerates to SimCLR unsupervised loss: https://arxiv.org/pdf/2002.0
project_utils/contrastive_utils.py:179
Methodforward
(self, x)
project_utils/cluster_utils.py:139
Methodforward
(self, prob1, prob2, simi)
project_utils/cluster_utils.py:145
Methodforward
(self, x, return_all_patches=True)
model/attribute_transformer.py:60
Methodforward
(self, x, return_all_patches=False)
model/attribute_transformer.py:77
Methodforward
(self, x)
model/attribute_transformer.py:103
Methodforward
(self, input)
model/attribute_transformer.py:119
Methodforward
(self, input)
model/attribute_transformer.py:162
Methodforward
(self, x)
model/attribute_transformer.py:221
Methodforward
(self, x)
model/attribute_transformer.py:254
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:290
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:335
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:384
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:433
Methodforward
(self, x)
model/attribute_transformer.py:474
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:499
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:546
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:591
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:636
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:680
Methodforward
(self, x, concat=False)
model/attribute_transformer.py:719
Methodforward
(self, x, attribute_label=None, concat=False)
model/attribute_transformer.py:752
Methodforward
(self, x, attribute_feat=None, attribute_label=None)
model/attribute_transformer.py:804
Methodforward
(self, x)
model/attribute_transformer.py:871
Methodforward
(self, x)
model/attribute_transformer.py:905
Methodforward
(self, x)
model/attribute_classifier.py:49
← previousnext →301–400 of 480, ranked by callers