MCPcopy Create free account

hub / github.com/aimagelab/VKD / functions

Functions164 in github.com/aimagelab/VKD

Method__init__
(self, path: str, uuid: str)
utils/saver.py:16
Method__init__
(self, label: str)
utils/misc.py:25
Method__init__
(self, labels: List[str])
utils/misc.py:41
Method__init__
Constructor class.
utils/conf.py:21
Method__init__
(self)
model/loss.py:12
Method__init__
(self, num_classes: int, eps: float = 0.1, reduction: str='sum')
model/loss.py:25
Method__init__
(self, reduction: str)
model/loss.py:83
Method__init__
(self, metric: str)
model/loss.py:96
Method__init__
(self, margin='soft', batch_hard=True, reduction='mean')
model/loss.py:120
Method__init__
(self, btype: str, pretrained: bool = True, last_stride: int = 1)
model/net.py:30
Method__init__
(self, num_classes, feat_in: int)
model/net.py:144
Method__init__
(self)
model/net.py:291
Method__init__
(self, gate_channel, reduction_ratio=16, num_layers=1)
model/cbam/bam.py:12
Method__init__
(self, gate_channel, reduction_ratio=16, dilation_conv_num=2, dilation_val=4)
model/cbam/bam.py:33
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
model/cbam/resnet_bam.py:26
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
model/cbam/resnet_bam.py:59
Method__init__
(self, width, height, interpolation=3)
data/misc.py:121
Method__init__
(self, data_source, p: int, k: int)
data/samplers.py:21
Method__init__
(self, size: int = 4)
data/temporal_transforms.py:7
Method__init__
(self, size: int = 4)
data/temporal_transforms.py:30
Method__init__
(self, size: int = 4)
data/temporal_transforms.py:56
Method__init__
(self, num_images=4)
data/temporal_transforms.py:75
Method__init__
(self, dataset, spatial_transform=None, temporal_transform=
data/datasets.py:31
Method__init__
(self, perform_x2i, perform_x2v, augment_gallery)
data/datasets.py:97
Method__init__
(self, root='/data/datasets/', min_seq_len=0)
data/veri/data_manager.py:13
Method__init__
(self, root='/data/datasets/', min_seq_len=0)
data/mars/data_manager.py:14
Method__init__
(self, root='/data/datasets/', min_seq_len=0)
data/dukevideoreid/data_manager.py:16
Method__iter__
(self)
data/samplers.py:33
Method__len__
(self)
data/samplers.py:54
Method__len__
(self)
data/datasets.py:42
Methodadd
(self, value: float)
utils/misc.py:29
Methodbackbone_features
(self, x: torch.Tensor)
model/net.py:207
Methodblock_parameters
(self, reinitl4: bool, reinitl3: bool)
model/net.py:267
Methoddump_hparams
(self, hparams: dict, metrics: dict)
utils/saver.py:81
Methodforward
target are long in [0, num_classes)!
model/loss.py:41
Methodforward
(self, teacher_logits: torch.Tensor, student_logits: torch.Tensor)
model/loss.py:66
Methodforward
(self, teacher_logits: torch.Tensor, student_logits: torch.Tensor)
model/loss.py:87
Methodforward
(self, teacher_embs: torch.Tensor, student_embs: torch.Tensor)
model/loss.py:102
Methodforward
(self, feat, id=None, pos_mask=None, neg_mask=None, mode='id', dis_func='eu', n_dis=0)
model/loss.py:130
Methodforward
(self, x: torch.Tensor)
model/net.py:126
Methodforward
(self, feats)
model/net.py:157
Methodforward
(self, x: torch.Tensor, return_logits: bool = False)
model/net.py:214
Methodforward
(self, x: torch.Tensor)
model/net.py:294
Methodforward
(self, x)
model/cbam/bam.py:7
Methodforward
(self, in_tensor)
model/cbam/bam.py:26
Methodforward
(self, in_tensor)
model/cbam/bam.py:52
Methodforward
(self, in_tensor)
model/cbam/bam.py:62
Methodforward
(self, x)
model/cbam/resnet_bam.py:37
Methodforward
(self, x)
model/cbam/resnet_bam.py:73
Methodforward
(self, x)
model/cbam/resnet_bam.py:167
Functionget_default_video_loader
()
data/misc.py:54
Methodget_num_cams
(self)
data/datasets.py:48
Methodget_tmp_path
()
utils/conf.py:50
Functioninit_worker
(worker_id)
utils/misc.py:8
Functionl2_norm
(x: torch.Tensor)
model/loss.py:6
Methodreset
(self)
utils/misc.py:35
Methodreset
(self)
utils/misc.py:55
Methodsample
(set, n)
data/samplers.py:35
Methodset_teacher_mode
(self, is_teacher: bool)
data/datasets.py:51
Functionstr2bool
(v)
utils/misc.py:12
Functionvideo_loader
(img_paths, image_loader)
data/misc.py:43
Methodweights_init_classifier
(m)
model/net.py:176
Methodweights_init_kaiming
(m)
model/net.py:161
Methodwrite_image
(self, image: np.ndarray, epoch: int, name: str)
utils/saver.py:65
← previous101–164 of 164, ranked by callers