Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MLforHealth/S2SD
/ functions
Functions
226 in github.com/MLforHealth/S2SD
⨍
Functions
226
◇
Types & classes
66
Method
__init__
(self, embed_dim, mode, **kwargs)
metrics/rho_spectrum.py:7
Method
__init__
(self, **kwargs)
metrics/c_f1.py:6
Method
__init__
(self, metric_names, opt)
metrics/__init__.py:62
Method
__init__
(self, **kwargs)
metrics/c_mAP_lim.py:8
Method
__init__
(self, **kwargs)
metrics/mAP.py:8
Method
__init__
(self, k, **kwargs)
metrics/c_recall.py:4
Method
__init__
(self, **kwargs)
metrics/c_nmi.py:4
Method
__init__
(self, **kwargs)
metrics/nmi.py:4
Method
__init__
(self, mode, **kwargs)
metrics/dists.py:7
Method
__init__
(self, opt)
architectures/resnet50.py:13
Method
__init__
(self, opt)
architectures/googlenet.py:13
Method
__init__
(self, opt, return_embed_dict=False)
architectures/bninception.py:11
Method
__init__
(self, model, device_ids, dim)
utilities/misc.py:34
Method
__init__
(self, save_path)
utilities/logger.py:9
Method
__init__
(self, save_path, title='Training Log', figsize=(25,19))
utilities/logger.py:31
Method
__init__
(self)
utilities/logger.py:85
Method
__init__
LOGGER Internal Structure: self.progress_saver: Contains multiple Progress_Saver instances to log metrics for main metric subsets (e
utilities/logger.py:100
Method
__init__
(self, opt)
batchminer/diva_shared_distance_apn.py:5
Method
__init__
(self, opt)
batchminer/epshn.py:5
Method
__init__
(self, opt)
batchminer/random_distance.py:5
Method
__init__
(self, opt)
batchminer/npair.py:3
Method
__init__
(self, opt)
batchminer/ephn.py:5
Method
__init__
(self, opt)
batchminer/random.py:6
Method
__init__
(self, opt)
batchminer/easypositive.py:5
Method
__init__
(self, opt)
batchminer/parametric.py:5
Method
__init__
(self, opt)
batchminer/epdn.py:5
Method
__init__
(self, opt)
batchminer/lifted.py:4
Method
__init__
(self, opt)
batchminer/distance.py:7
Method
__init__
(self, opt)
batchminer/intra_random.py:6
Method
__init__
(self, opt)
batchminer/softhard.py:5
Method
__init__
(self, opt)
batchminer/rho_distance.py:5
Method
__init__
(self, opt)
batchminer/semihard.py:5
Method
__init__
(self, opt)
batchminer/diva_shared_distance_an.py:5
Method
__init__
(self, image_dict, opt, is_validation=False)
datasets/basic_dataset_scaffold.py:10
Method
__init__
(self, opt, image_dict, image_list)
datasampler/greedy_coreset_sampler.py:16
Method
__init__
(self, opt, image_dict, image_list)
datasampler/fid_batchmatch_sampler.py:16
Method
__init__
(self, method='class_random', random_subset_perc=0.1, batch_size=128, samples_per_class=4)
datasampler/samplers.py:22
Method
__init__
(self, opt, image_dict, image_list)
datasampler/d2_coreset_sampler.py:16
Method
__init__
(self, opt, image_dict, image_list)
datasampler/disthist_batchmatch_sampler.py:16
Method
__init__
(self, opt, image_dict, image_list, **kwargs)
datasampler/class_random_sampler.py:16
Method
__init__
(self, opt, image_dict, image_list=None)
datasampler/random_sampler.py:16
Method
__init__
(self, opt, batchminer)
criteria/snr.py:12
Method
__init__
(self, opt)
criteria/softtriplet.py:12
Method
__init__
(self, opt, batchminer)
criteria/margin.py:12
Method
__init__
Args:
criteria/npair.py:12
Method
__init__
(self, opt, batchminer)
criteria/triplet.py:12
Method
__init__
(self, opt, batchminer)
criteria/angular.py:12
Method
__init__
(self, opt, batchminer)
criteria/contrastive.py:12
Method
__init__
(self, opt)
criteria/arcface.py:12
Method
__init__
Args: margin: Triplet Margin. nu: Regularisation Parameter for beta values if they are le
criteria/adversarial_separation.py:13
Method
__init__
(self, opt)
criteria/softmax.py:13
Method
__init__
(self, opt, batchminer)
criteria/lifted.py:12
Method
__init__
Args: opt: Namespace containing all relevant parameters.
criteria/proxynca.py:13
Method
__init__
Args: margin: Triplet Margin.
criteria/histogram.py:13
Method
__init__
Args: opt: Namespace containing all relevant parameters.
criteria/s2sd.py:13
Method
__init__
(self, opt, batchminer)
criteria/quadruplet.py:11
Method
__init__
(self, opt)
criteria/multisimilarity.py:11
Method
__iter__
(self)
datasampler/greedy_coreset_sampler.py:39
Method
__iter__
(self)
datasampler/fid_batchmatch_sampler.py:38
Method
__iter__
(self)
datasampler/samplers.py:58
Method
__iter__
(self)
datasampler/d2_coreset_sampler.py:38
Method
__iter__
(self)
datasampler/disthist_batchmatch_sampler.py:39
Method
__iter__
(self)
datasampler/class_random_sampler.py:35
Method
__iter__
(self)
datasampler/random_sampler.py:28
Method
__len__
(self)
datasets/basic_dataset_scaffold.py:88
Method
__len__
(self)
datasampler/greedy_coreset_sampler.py:155
Method
__len__
(self)
datasampler/fid_batchmatch_sampler.py:147
Method
__len__
(self)
datasampler/samplers.py:100
Method
__len__
(self)
datasampler/d2_coreset_sampler.py:144
Method
__len__
(self)
datasampler/disthist_batchmatch_sampler.py:164
Method
__len__
(self)
datasampler/class_random_sampler.py:48
Method
__len__
(self)
datasampler/random_sampler.py:40
Function
basic_training_parameters
(parser)
parameters.py:5
Function
batch_creation_parameters
(parser)
parameters.py:171
Method
batchfinder
(n_calls, pos)
datasampler/greedy_coreset_sampler.py:54
Method
batchfinder
(n_calls, pos)
datasampler/d2_coreset_sampler.py:53
Function
batchmining_specific_parameters
(parser)
parameters.py:159
Method
compute
(self, target_labels, k_closest_classes)
metrics/a_recall.py:8
Method
create_storage
(self, dataloader, model, device)
datasampler/greedy_coreset_sampler.py:78
Method
create_storage
(self, dataloader, model, device)
datasampler/fid_batchmatch_sampler.py:70
Method
create_storage
(self, dataloader, model, device)
datasampler/d2_coreset_sampler.py:75
Method
create_storage
(self, dataloader, model, device)
datasampler/disthist_batchmatch_sampler.py:72
Method
disthist_match
datasampler/disthist_batchmatch_sampler.py:105
Function
evaluate
Parent-Function to compute evaluation metrics, print summary string and store checkpoint files/plot sample recall plots.
evaluation/__init__.py:7
Function
evaluate
(dataset, LOG, **kwargs)
evaluation/evaluate.py:24
Method
forward
(self, x, warmup=False, **kwargs)
architectures/resnet50.py:38
Method
forward
(self, x)
architectures/googlenet.py:24
Method
forward
(self, x, warmup=False, **kwargs)
architectures/bninception.py:37
Method
forward
(self, x)
utilities/misc.py:39
Method
forward
(self, batch, labels, **kwargs)
criteria/snr.py:29
Method
forward
(self, batch, labels, **kwargs)
criteria/softtriplet.py:50
Method
forward
(self, batch, labels, **kwargs)
criteria/margin.py:39
Method
forward
(self, batch, labels, **kwargs)
criteria/npair.py:29
Method
forward
(self, batch, labels, **kwargs)
criteria/triplet.py:27
Method
forward
(self, batch, labels, **kwargs)
criteria/angular.py:29
Method
forward
(self, batch, labels, **kwargs)
criteria/contrastive.py:27
Method
forward
(self, batch, labels, **kwargs)
criteria/arcface.py:36
Method
forward
(self, feature_dict)
criteria/adversarial_separation.py:49
Method
forward
Container which applies a simple identity function. Input: x: any torch tensor input.
criteria/adversarial_separation.py:66
Method
forward
(self, batch, labels, **kwargs)
criteria/softmax.py:33
← previous
next →
101–200 of 226, ranked by callers