MCPcopy Create free account

hub / github.com/Hawkeye-FineGrained/Hawkeye / functions

Functions503 in github.com/Hawkeye-FineGrained/Hawkeye

Functioncollate_fn4test
(batch)
dataset/dataset_DCL.py:183
Functioncollate_fn4train
(batch)
dataset/dataset_DCL.py:118
Functioncollate_fn4val
(batch)
dataset/dataset_DCL.py:145
Functionconv3x3
3x3 convolution with padding
model/methods/CrossX.py:23
Methodcosine_anneal_schedule
(t)
Examples/APCNN.py:73
Methodcrop_image
(image, cropnum)
dataset/transforms.py:260
Functiondefault_loader
(path)
dataset/dataset.py:16
Methoddepth
(self)
model/methods/ProtoTree/leaf.py:110
Methoddepth
(self)
model/methods/ProtoTree/node.py:46
Methoddepth
(self)
model/methods/ProtoTree/branch.py:116
Methoddepth
(self)
model/methods/ProtoTree/prototree.py:205
Methoddo_scheduler_step
(self)
Examples/APCNN.py:89
Methoddo_scheduler_step
(self)
Examples/BCNN.py:46
Methoddo_scheduler_step
(self)
Examples/InterpPartsNet.py:69
Functionemergency_save
Save checkpoint when `KeyboardInterrupt` or other errors occur.
train.py:17
Methodemit
(self, msg)
utils/utils.py:73
Methodforward
Args: data['img'] (Tensor): Float tensor of size (B, C, H, W) data['label'] (Tensor): Integer tensor of size (B, )
dataset/transforms.py:98
Methodforward
Args: batch (Tensor): Float tensor of size (B, C, H, W) target (Tensor): Integer tensor of size (B, ) Returns
dataset/transforms.py:175
Methodforward
(self, x: torch.Tensor)
model/backbone/vgg.py:48
Methodforward
(self, x: Tensor)
model/backbone/resnet.py:70
Methodforward
(self, x: Tensor)
model/backbone/resnet.py:124
Methodforward
(self, x: Tensor)
model/backbone/resnet.py:251
Methodforward
(self, x)
model/methods/OSME.py:19
Methodforward
:param x: [N D W H] :return: [N C], [N P C]
model/methods/OSME.py:36
Methodforward
(self, x)
model/methods/OSME.py:60
Methodforward
(self, inputs)
model/methods/Interp_Parts.py:56
Methodforward
(self, x)
model/methods/Interp_Parts.py:155
Methodforward
(self, x)
model/methods/Interp_Parts.py:192
Methodforward
(self, x)
model/methods/Interp_Parts.py:228
Methodforward
(self, x)
model/methods/Interp_Parts.py:333
Methodforward
(self, x)
model/methods/APCNN.py:84
Methodforward
(self, x)
model/methods/APCNN.py:112
Methodforward
(self, x)
model/methods/APCNN.py:147
Methodforward
:param x: Shape: [b, 2048, h, w] :return: out: Feature maps. Shape: [b, 2048, h, w]
model/methods/APCNN.py:185
Methodforward
(self, inputs)
model/methods/APCNN.py:217
Methodforward
(self, inputs)
model/methods/APCNN.py:251
Methodforward
(self, x)
model/methods/APCNN.py:278
Methodforward
(self, x)
model/methods/APCNN.py:291
Methodforward
(self, x)
model/methods/APCNN.py:302
Methodforward
(self, inputs, targets)
model/methods/APCNN.py:540
Methodforward
(self, x)
model/methods/PeerLearningNet.py:17
Methodforward
(self, images, targets=None, flag='train')
model/methods/APINet.py:27
Methodforward
(self, x)
model/methods/CBCNN.py:29
Methodforward
bottom1: 1st input, 4D Tensor of shape [batch_size, input_dim1, height, width]. bottom2: 2nd input, 4D Tensor of shape [batch_size, i
model/methods/CBCNN.py:96
Methodforward
(self, theta)
model/methods/S3N.py:41
Methodforward
(ctx, input, return_aggregation, win_size, peak_filter)
model/methods/S3N.py:60
Methodforward
(self, input)
model/methods/S3N.py:111
Methodforward
(self, input_x, p)
model/methods/S3N.py:292
Methodforward
(self, x)
model/methods/CrossX.py:40
Methodforward
(self, x)
model/methods/CrossX.py:62
Methodforward
(self, x)
model/methods/CrossX.py:92
Methodforward
(self, x)
model/methods/CrossX.py:197
Methodforward
(self, x)
model/methods/BCNN.py:13
Methodforward
(self, x)
model/methods/BCNN.py:49
Methodforward
(self, x)
model/methods/CIN.py:24
Methodforward
(self, x)
model/methods/CIN.py:72
Methodforward
(self, x)
model/methods/CIN.py:98
Methodforward
(self, x)
model/methods/MPNCOV.py:33
Methodforward
(self, x)
model/methods/MPNCOV.py:94
Methodforward
(ctx, input)
model/methods/MPNCOV.py:107
Methodforward
(ctx, input, iterN)
model/methods/MPNCOV.py:139
Methodforward
(ctx, input)
model/methods/MPNCOV.py:207
Methodforward
(self, x)
model/methods/DCL.py:30
Methodforward
(self, xs: torch.Tensor, **kwargs)
model/methods/ProtoTree/leaf.py:30
Methodforward
(self, *args, **kwargs)
model/methods/ProtoTree/node.py:10
Methodforward
(self, x)
model/methods/ProtoTree/ProtoTreeNet.py:35
Methodforward
(self, xs: torch.Tensor, **kwargs)
model/methods/ProtoTree/branch.py:22
Methodforward
(self, xs: torch.Tensor, features: torch.Tensor, sampling_stra
model/methods/ProtoTree/prototree.py:97
Methodforward
Perform convolution over the input using the squared L2 distance for all prototypes in the layer :param xs: A batch of input images o
model/methods/ProtoTree/l2conv.py:24
Methodforward
(self, x)
model/methods/NTS_Net/NTSNet.py:29
Methodforward
(self, x)
model/methods/NTS_Net/NTSNet.py:74
Methodforward
(self, x)
model/methods/NTS_Net/resnet.py:36
Methodforward
(self, x)
model/methods/NTS_Net/resnet.py:71
Methodforward
(self, x)
model/methods/NTS_Net/resnet.py:135
Methodforward
(self, input)
model/methods/MGE_CNN/grad_cam.py:62
Methodforward
(self, input)
model/methods/MGE_CNN/MGE.py:23
Methodforward
(self, x, y=None, is_vis=False, vis_idx=None, gt_top=None)
model/methods/MGE_CNN/MGE.py:126
Methodforward
(self, x)
model/loss/CrossX_loss.py:13
Methodforward
(self, inputs, targets)
model/loss/MAMC_loss.py:14
Methodforward
Args: inputs (torch.Tensor): feature matrix with shape (batch_size, part_num, feat_dim). targets (torch.LongTensor):
model/loss/MAMC_loss.py:34
Methodforward
(self, features, labels)
model/loss/pair_confusion.py:15
Methodget_average_meters
(self)
Examples/PeerLearning.py:35
Methodget_collate_fn
(self)
Examples/DCL.py:53
Methodget_criterion
(self, config)
Examples/PeerLearning.py:69
Methodget_criterion
(self, config)
Examples/Baseline.py:29
Methodget_criterion
(self, config)
Examples/APINet.py:31
Methodget_criterion
(self, config)
Examples/ProtoTreeNet.py:18
Methodget_criterion
(self, config)
Examples/MGE_CNN.py:15
Methodget_criterion
(self, config)
Examples/S3N.py:33
Methodget_criterion
(self, config)
Examples/OSMENet.py:32
Methodget_criterion
(self, config)
Examples/CrossX.py:32
Methodget_criterion
(self, config)
Examples/PairConfusion.py:14
Methodget_criterion
(self, config)
Examples/CIN.py:31
Methodget_criterion
(self, config)
Examples/NTSNet.py:18
Methodget_criterion
(self, config)
Examples/InterpPartsNet.py:36
Methodget_criterion
(self, config)
Examples/DCL.py:71
Methodget_dataloader
(self, config)
Examples/APINet.py:17
Methodget_dataloader
(self, config)
Examples/OSMENet.py:18
Methodget_dataloader
(self, config)
Examples/CIN.py:17
Methodget_dataset
(self, config)
Examples/DCL.py:59
← previousnext →301–400 of 503, ranked by callers