MCPcopy Create free account

hub / github.com/LouieYang/MCL / functions

Functions259 in github.com/LouieYang/MCL

↓ 1 callersMethodprepare_data_list
(self, cfg, phase)
dataloader/unrepeated_datasets.py:21
↓ 1 callersMethodprepare_data_list
(self, cfg, phase)
dataloader/pretrain_datasets.py:47
↓ 1 callersMethodprepare_data_list
(self, cfg, phase)
dataloader/base_datasets.py:35
↓ 1 callersMethodprepare_transform
(self, cfg, phase)
dataloader/pretrain_datasets.py:21
↓ 1 callersMethodreset
(self)
engines/utils.py:35
↓ 1 callersMethodsave_model
(self, prefix, accuracy, h, epoch, final_epoch=False)
engines/distributed_trainer.py:149
↓ 1 callersMethodsave_model
(self, postfix=None)
engines/pretrainer.py:90
↓ 1 callersMethodsave_model
(self, postfix=None)
engines/distributed_pretrainer.py:104
↓ 1 callersMethodset_epoch
(self, epoch)
dataloader/distributed_sampler.py:65
↓ 1 callersFunctionsquare_resize_randomcrop
(phase, image_size, pad_size)
dataloader/transforms.py:9
↓ 1 callersMethodstep_ReduceLROnPlateau
(self, metrics, epoch=None)
engines/utils.py:84
↓ 1 callersMethodvalidate
(self, dataloader)
engines/distributed_trainer.py:123
↓ 1 callersMethodvalidate
(self, dataloader)
engines/pretrainer.py:126
↓ 1 callersMethodvalidate
(self, dataloader)
engines/distributed_pretrainer.py:145
↓ 1 callersMethodvalidate
(self, dataloader)
engines/trainer.py:108
Method__call__
(self, support_xf, support_y, query_xf, query_y, n_way, k_shot)
modules/query/relationnet.py:68
Method__call__
(self, support_xf, support_y, query_xf, query_y, n_way, k_shot)
modules/query/protonet.py:43
Method__call__
(self, support_xf, support_y, query_xf, query_y, n_way, k_shot)
modules/query/matchingnet.py:47
Method__call__
(self, support_xf, support_y, query_xf, query_y, n_way, k_shot)
modules/query/relationmel.py:116
Method__call__
(self, support_xf, support_y, query_xf, query_y, n_way, k_shot)
modules/query/protomel.py:73
Method__call__
(self, support_xf, support_y, query_xf, query_y, n_way, k_shot)
modules/query/matchingmel.py:79
Method__getattr__
(self, name)
configs/collections.py:19
Method__getitem__
(self, index)
dataloader/grid_datasets.py:83
Method__getitem__
(self, index)
dataloader/pretrain_datasets.py:70
Method__getitem__
(self, index)
dataloader/base_datasets.py:80
Method__init__
(self, *args, **kwargs)
configs/collections.py:15
Method__init__
(self, *args, **kwargs)
modules/utils.py:102
Method__init__
(self, cfg)
modules/fsl_query.py:9
Method__init__
(self)
modules/encoder/fourlayer_64F.py:10
Method__init__
(self, depth, widen_factor, dropout_rate)
modules/encoder/wrn28.py:47
Method__init__
(self, block_size)
modules/encoder/resnet.py:8
Method__init__
(self, inplanes, planes, stride=1, downsample=None, drop_rate=0.0, drop_block=False, block_size=1)
modules/encoder/resnet.py:75
Method__init__
(self)
modules/encoder/fourlayer_64F_4x.py:10
Method__init__
(self, in_channels)
modules/query/relationnet.py:8
Method__init__
(self, in_channels, cfg)
modules/query/r2d2.py:10
Method__init__
(self, in_channels, cfg)
modules/query/protonet.py:10
Method__init__
(self, in_channels, cfg)
modules/query/mn4.py:13
Method__init__
(self, in_channels, cfg)
modules/query/matchingnet.py:10
Method__init__
(self, in_channels, cfg)
modules/query/linearplus.py:36
Method__init__
(self, in_channels, cfg)
modules/query/linear.py:10
Method__init__
(self, in_channels, cfg)
modules/query/r2d2mel.py:13
Method__init__
(self, in_channels, cfg)
modules/query/negative_softmax.py:40
Method__init__
(self, in_channels, cfg)
modules/query/metaoptmel.py:13
Method__init__
(self, in_channels, cfg)
modules/query/linearmel.py:13
Method__init__
(self, in_channels, cfg)
modules/query/frn.py:10
Method__init__
(self, in_channels, cfg, metric='cosine')
modules/query/ls.py:13
Method__init__
(self, in_channels, cfg)
modules/query/negative_softmax_mel.py:13
Method__init__
(self, in_channels, cfg)
modules/query/dmn4.py:13
Method__init__
(self, cfg, metric='cosine')
modules/query/similarity.py:9
Method__init__
(self, in_channels, cfg)
modules/query/mel.py:12
Method__init__
(self, in_channels, cfg)
modules/query/negative_cosine_mel.py:13
Method__init__
(self, in_channels, cfg)
modules/query/metaoptnet.py:17
Method__init__
(self, in_channels)
modules/query/relationmel.py:10
Method__init__
(self, in_channels, cfg)
modules/query/ctx.py:10
Method__init__
(self, in_channels, cfg)
modules/query/protomel.py:13
Method__init__
(self, in_channels, cfg)
modules/query/matchingmel.py:12
Method__init__
(self, cfg, katz_factor=0.999, gamma=20.0, gamma2=10.0)
modules/query/mel_utils.py:12
Method__init__
(self, in_channels, cfg)
modules/query/linearplusmel.py:13
Method__init__
(self, in_features, out_features, scale_factor=30.0, margin=0.40)
modules/query/negative_cosine.py:18
Method__init__
(self, in_channels, cfg)
modules/query/dsn.py:10
Method__init__
(self, in_channels, cfg)
modules/query/deepemd.py:19
Method__init__
(self, in_channels, cfg)
modules/query/dn4.py:13
Method__init__
(self, in_channels, cfg)
modules/query/dsnmel.py:12
Method__init__
(self, cfg)
modules/pretrainer/linear.py:11
Method__init__
(self, cfg)
modules/pretrainer/frn.py:11
Method__init__
(self, cfg)
modules/pretrainer/base.py:11
Method__init__
(self, cfg, phase="train", transform=None)
dataloader/grid_datasets.py:15
Method__init__
(self, label, n_batch, n_cls, n_per)
dataloader/samplers.py:7
Method__init__
(self, cfg, phase="train", transform=None)
dataloader/unrepeated_datasets.py:16
Method__init__
(self, cfg, phase="train")
dataloader/pretrain_datasets.py:12
Method__init__
(self, cfg, phase="train", transform=None)
dataloader/base_datasets.py:16
Method__init__
(self, dataset, num_replicas=None, rank=None, shuffle=True)
dataloader/distributed_sampler.py:25
Method__init__
(self, optimizer, multiplier, total_epoch, after_scheduler=None)
engines/utils.py:61
Method__init__
(self, cfg, checkpoint_dir)
engines/evaluator.py:16
Method__init__
(self, args, cfg, checkpoint_dir)
engines/distributed_trainer.py:26
Method__init__
(self, args, cfg, checkpoint_dir, fsl=None)
engines/distributed_evaluator.py:18
Method__init__
(self, cfg, checkpoint_dir)
engines/pretrainer.py:21
Method__init__
(self, args, cfg, checkpoint_dir)
engines/distributed_pretrainer.py:22
Method__init__
(self, cfg, checkpoint_dir)
engines/trainer.py:21
Method__iter__
(self)
dataloader/samplers.py:22
Method__iter__
(self)
dataloader/distributed_sampler.py:42
Method__len__
(self)
dataloader/samplers.py:19
Method__len__
(self)
dataloader/unrepeated_datasets.py:63
Method__len__
(self)
dataloader/pretrain_datasets.py:67
Method__len__
(self)
dataloader/base_datasets.py:77
Method__len__
(self)
dataloader/distributed_sampler.py:62
Method__setattr__
(self, name, value)
configs/collections.py:27
Method_scores_both
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/relationmel.py:93
Method_scores_both
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/protomel.py:60
Method_scores_both
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/matchingmel.py:63
Method_scores_query
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/relationmel.py:50
Method_scores_query
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/protomel.py:33
Method_scores_query
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/matchingmel.py:30
Method_scores_support
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/relationmel.py:70
Method_scores_support
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/protomel.py:46
Method_scores_support
(self, support_xf, support_y, query_xf, query_y, query_mel, support_mel)
modules/query/matchingmel.py:47
Methodaveraging_based_similarities
(self, support_xf, support_y, query_xf, query_y)
modules/query/mel.py:44
Functionblock_diag
Make a block diagonal matrix along dim=-3 EXAMPLE: block_diag(torch.ones(4,3,2)) should give a 12 x 8 matrix with blocks of 3 x 2 one
modules/utils.py:49
Methodblockwise_katz_forward
(self, support_xf, support_y, query_xf, query_y, similarity_f)
modules/query/mel.py:107
Functionconv_init
(m)
modules/encoder/wrn28.py:15
← previousnext →101–200 of 259, ranked by callers