MCPcopy Create free account

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

Functions503 in github.com/Hawkeye-FineGrained/Hawkeye

↓ 1 callersMethodget_dataloader
(self, config)
train.py:200
↓ 1 callersMethodget_dataloader
(self, config)
test.py:93
↓ 1 callersMethodget_dataset
(self, config)
train.py:191
↓ 1 callersMethodget_dataset
(self, config)
test.py:89
↓ 1 callersMethodget_gradients
(self)
model/methods/MGE_CNN/grad_cam.py:40
↓ 1 callersMethodget_inat_resnet50_weight
(self, pretrain)
model/methods/ProtoTree/ProtoTreeNet.py:41
↓ 1 callersMethodget_logger
(self)
train.py:116
↓ 1 callersMethodget_logger
(self)
test.py:45
↓ 1 callersFunctionget_merge_bbox
(dets, inds)
model/methods/APCNN.py:27
↓ 1 callersMethodget_model
Build and load model in config
train.py:158
↓ 1 callersMethodget_model
Build and load model in config
test.py:65
↓ 1 callersMethodget_model_module
get `model` in single-gpu mode or `model.module` in multi-gpu mode.
train.py:230
↓ 1 callersMethodget_optimizer
(self, config)
train.py:214
↓ 1 callersMethodget_pairs
(self, embeddings, labels)
model/methods/APINet.py:76
↓ 1 callersMethodget_performance_meters
(self)
train.py:134
↓ 1 callersMethodget_performance_meters
(self)
test.py:55
↓ 1 callersMethodget_roi_crop_feat
ROI guided refinement: ROI guided Zoom-in & ROI guided Dropblock
model/methods/APCNN.py:478
↓ 1 callersMethodget_scheduler
(self, config)
train.py:217
↓ 1 callersMethodget_transformer
(self, config)
test.py:78
↓ 1 callersMethodget_transformers
(self, config)
train.py:171
↓ 1 callersMethodinit_args
(self, args)
model/methods/ProtoTree/prototree.py:60
↓ 1 callersMethodload_checkpoint
(self, path)
train.py:389
↓ 1 callersFunctionmakeGaussian
(size, fwhm=3, center=None)
model/methods/S3N.py:12
↓ 1 callersFunctionmake_layers
(cfg: List[Union[str, int]], batch_norm: bool = False)
model/backbone/vgg.py:56
↓ 1 callersFunctionmin_pool2d
(xs, **kwargs)
model/methods/ProtoTree/prototree.py:14
↓ 1 callersFunctionpdist
(vectors)
model/methods/APINet.py:116
↓ 1 callersFunctionpeak_stimulation
(input, return_aggregation=True, win_size=3, peak_filter=None)
model/methods/S3N.py:101
↓ 1 callersMethodpil_loader
(self, imgpath)
dataset/dataset_DCL.py:79
↓ 1 callersFunctionrandom_sample
(img_names, labels)
dataset/dataset_DCL.py:100
↓ 1 callersMethodreport
(self)
test.py:139
↓ 1 callersMethodreset_parameters
(self, init_weight=None, init_smooth_factor=None)
model/methods/Interp_Parts.py:36
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
model/methods/APCNN.py:602
↓ 1 callersFunctionresnet50
(pretrained=True, **kwargs)
model/methods/CrossX.py:257
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
model/methods/NTS_Net/resnet.py:179
↓ 1 callersFunctionset_random_seed
(seed)
utils/utils.py:102
↓ 1 callersMethodsize
(self)
model/methods/ProtoTree/branch.py:88
↓ 1 callersMethodtest
(self)
test.py:117
↓ 1 callersFunctionunfreeze
(m)
model/utils.py:42
↓ 1 callersFunctionupdate_prior_dist
Update the samples of prior distribution due to the change of batchsize. Args ---------- batch_size: int Current batch size.
model/loss/InterpParts_loss.py:62
↓ 1 callersMethodvalidate
(self)
test.py:123
FunctionAPCNN
(config)
model/methods/APCNN.py:621
FunctionCovpoolLayer
(var)
model/methods/MPNCOV.py:233
FunctionCrossX
(config)
model/methods/CrossX.py:265
FunctionEntropicConfusion
(features)
model/loss/pair_confusion.py:33
FunctionIP_ResNet101
(config)
model/methods/Interp_Parts.py:18
FunctionIP_ResNet50
(config)
model/methods/Interp_Parts.py:10
FunctionMGE_CNN
(config)
model/methods/MGE_CNN/MGE.py:244
FunctionPeerLearningLoss
peer learning loss Webly Supervised Fine-Grained Recognition: Benchmark Datasets and An Approach. [ICCV 2021] :param logits_1: shape of (N,
model/loss/peer_learning_loss.py:5
FunctionResNet101
(config)
model/backbone/resnet.py:410
FunctionResNet50
(config)
model/backbone/resnet.py:404
FunctionSqrtmLayer
(var, iterN)
model/methods/MPNCOV.py:237
FunctionTriuvecLayer
(var)
model/methods/MPNCOV.py:241
Method__call__
(self, img)
dataset/transforms.py:48
Method__call__
(self, img)
dataset/transforms.py:72
Method__call__
(self, img)
dataset/transforms.py:253
Method__call__
(self, batch)
dataset/collate_fn.py:16
Method__call__
(self, x)
model/methods/MGE_CNN/grad_cam.py:18
Method__call__
(self, x)
model/methods/MGE_CNN/grad_cam.py:43
Method__call__
(self, input, index = None)
model/methods/MGE_CNN/grad_cam.py:65
Method__call__
(self, output, target)
model/loss/APINet_loss.py:12
Method__call__
(self, outputs, target)
model/loss/CrossX_loss.py:44
Method__call__
(self, output, target)
model/loss/CIN_loss.py:26
Method__call__
(self, output, target, loss_weight=None, weight=None, size_average=True, ignore_index=-100, r
model/loss/S3N_loss.py:13
Method__call__
(self, outputs, labels, labels_swap, swap_law)
model/loss/DCL_loss.py:16
Method__call__
(self, outputs, targets)
model/loss/NTS_loss.py:16
Method__call__
(self, output, target)
model/loss/InterpParts_loss.py:24
Method__del__
(self)
train.py:112
Method__getitem__
Args: index (int): Index Returns: dict { img, label }: dict of img and label.
dataset/dataset.py:36
Method__getitem__
(self, item)
dataset/dataset_DCL.py:37
Method__init__
(self)
train.py:41
Method__init__
(self)
test.py:18
Method__init__
(self, higher_is_better=True)
utils/utils.py:14
Method__init__
(self)
utils/utils.py:36
Method__init__
(self)
utils/utils.py:70
Method__init__
(self, *args, **kwargs)
utils/repository.py:7
Method__init__
( self, crop_size, mean=(0.485, 0.456, 0.406), std=(0.229, 0.224, 0.225),
dataset/transforms.py:15
Method__init__
( self, crop_size, resize_size=256, mean=(0.485, 0.456, 0.406), std=(0
dataset/transforms.py:53
Method__init__
(self, num_classes: int, p: float = 0.5, alpha: float = 1.0, inplace: bool = False)
dataset/transforms.py:88
Method__init__
(self, num_classes: int, p: float = 0.5, alpha: float = 1.0, inplace: bool = False)
dataset/transforms.py:165
Method__init__
(self, root, meta_path, transform=None, return_id=False, loader=default_loader)
dataset/dataset.py:24
Method__init__
(self, num_classes)
dataset/collate_fn.py:9
Method__init__
(self, root, meta_path, transforms=None, swap_size=[7, 7], mode='train', cls_2=True, cls_2xmul=False)
dataset/dataset_DCL.py:12
Method__init__
(self, dataset, n_classes, n_samples)
dataset/sampler.py:7
Method__init__
(self)
Examples/PeerLearning.py:17
Method__init__
(self)
Examples/Baseline.py:9
Method__init__
(self)
Examples/APCNN.py:15
Method__init__
(self)
Examples/MPN.py:10
Method__init__
(self)
Examples/APINet.py:14
Method__init__
(self)
Examples/ProtoTreeNet.py:13
Method__init__
(self)
Examples/CBCNN.py:10
Method__init__
(self)
Examples/MGE_CNN.py:12
Method__init__
(self)
Examples/S3N.py:14
Method__init__
(self)
Examples/OSMENet.py:15
Method__init__
(self)
Examples/CrossX.py:13
Method__init__
(self)
Examples/PairConfusion.py:11
Method__init__
(self)
Examples/BCNN.py:11
Method__init__
(self)
Examples/CIN.py:14
Method__init__
(self)
Examples/NTSNet.py:12
Method__init__
(self)
Examples/InterpPartsNet.py:14
Method__init__
(self)
Examples/DCL.py:15
← previousnext →101–200 of 503, ranked by callers