MCPcopy Create free account

hub / github.com/VDIGPKU/M2Det / functions

Functions216 in github.com/VDIGPKU/M2Det

↓ 1 callersFunctiontest_net
(save_folder, net, detector, cuda, testset, transform, max_per_image=300, thresh=0.005)
test.py:40
↓ 1 callersFunctionvgg
(cfg, i, batch_norm=False)
layers/nn_utils.py:100
↓ 1 callersFunctionvoc_ap
ap = voc_ap(rec, prec, [use_07_metric]) Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11 point met
data/voc_eval.py:35
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile,
data/voc_eval.py:68
↓ 1 callersFunctionwrite_logger
(info_dict,logger,iteration,status)
utils/core.py:124
Method__call__
(self, image, targets)
data/data_augment.py:170
Method__call__
(self, img)
data/data_augment.py:238
Method__call__
Arguments: target (annotation) : the target annotation to be made usable will be an ET.Element Returns:
data/voc0712.py:111
Method__getattr__
(self, name)
configs/CC.py:17
Method__getitem__
(self, name)
configs/CC.py:147
Method__getitem__
(self, index)
data/coco.py:149
Method__getitem__
(self, index)
data/voc0712.py:74
Method__getitem__
(self, index)
data/voc0712.py:176
Method__init__
M2Det: Multi-level Multi-scale single-shot object Detector
m2det.py:27
Method__init__
Create a summary writer logging to log_dir.
logger.py:13
Method__init__
(self, cfg_dict=None, filename=None)
configs/CC.py:114
Method__init__
(self)
utils/timer.py:13
Method__init__
Constructor of Microsoft COCO helper class for reading and visualizing annotations. :param annotation_file (str): location of annotat
utils/pycocotools/coco.py:66
Method__init__
Initialize CocoEval using coco APIs for gt and dt :param cocoGt: coco object with ground truth annotations :param cocoDt: coc
utils/pycocotools/cocoeval.py:60
Method__init__
(self, iouType='segm')
utils/pycocotools/cocoeval.py:519
Method__init__
(self, resize, rgb_means, p)
data/data_augment.py:165
Method__init__
(self, resize, rgb_means, swap=(2, 0, 1))
data/data_augment.py:232
Method__init__
(self, root, image_sets, preproc=None, target_transform=None, dataset_name='COCO')
data/coco.py:27
Method__init__
(self, root, image_set, transform=None, target_transform=None, dataset_name='VOC2007')
data/voc0712.py:56
Method__init__
(self, class_to_ind=None, keep_difficult=True)
data/voc0712.py:106
Method__init__
(self, root, image_sets, preproc=None, target_transform=AnnotationTransform(), dataset_name='
data/voc0712.py:160
Method__init__
(self, channels, reduction)
layers/senet.py:86
Method__init__
(self, inplanes, planes, groups, reduction, stride=1, downsample=None)
layers/senet.py:139
Method__init__
(self, inplanes, planes, groups, reduction, stride=1, downsample=None)
layers/senet.py:165
Method__init__
(self, inplanes, planes, groups, reduction, stride=1, downsample=None, base_width=4)
layers/senet.py:188
Method__init__
(self, in_planes, out_planes, kernel_size, stride=1, padding=0, dilation=1, groups=1, relu=True,
layers/nn_utils.py:9
Method__init__
(self, planes, num_levels, num_scales, compress_ratio=16)
layers/nn_utils.py:134
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
layers/resnet.py:28
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
layers/resnet.py:60
Method__init__
(self, num_classes,overlap_thresh,prior_for_matching,bkg_label,neg_mining,neg_pos,neg_overlap,encode_target)
layers/modules/multibox_loss.py:35
Method__init__
(self, num_classes, bkg_label, cfg)
layers/functions/detection.py:15
Method__init__
(self, cfg)
layers/functions/prior_box.py:17
Method__iter__
(self)
configs/CC.py:160
Method__len__
(self)
configs/CC.py:141
Method__len__
(self)
data/coco.py:167
Method__len__
(self)
data/voc0712.py:88
Method__len__
(self)
data/voc0712.py:195
Method__missing__
(self, name)
configs/CC.py:14
Method__repr__
(self)
configs/CC.py:137
Method__setitem__
(self, name, value)
configs/CC.py:155
Method__str__
(self)
utils/pycocotools/cocoeval.py:490
Function_compile
(obj, src, ext, cc_args, extra_postargs, pp_opts)
utils/build.py:88
Method_get_thr_ind
(coco_eval, thr)
data/coco.py:202
Method_summarize
( ap=1, iouThr=None, areaRng='all', maxDets=100 )
utils/pycocotools/cocoeval.py:422
Method_summarizeDets
()
utils/pycocotools/cocoeval.py:453
Method_summarizeKps
()
utils/pycocotools/cocoeval.py:468
Method_toMask
(anns, coco)
utils/pycocotools/cocoeval.py:90
MethodannToMask
Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask. :return: binary mask (numpy 2D array)
utils/pycocotools/coco.py:421
Functionarea
(rleObjs)
utils/pycocotools/mask.py:94
Methodauto_argparser
Generate argparser from config file automatically (experimental)
configs/CC.py:102
FunctionbbNms
utils/pycocotools/maskApi.c:122
Methodbuild_extensions
(self)
utils/build.py:109
Functioncenter_size
Convert prior_boxes to (cx, cy, w, h) representation for comparison to center-size form ground truth data. Args: boxes: (tensor) poin
utils/box_utils.py:22
Methodclear
(self)
utils/timer.py:35
MethodcomputeIoU
(self, imgId, catId)
utils/pycocotools/cocoeval.py:164
MethodcomputeOks
(self, imgId, catId)
utils/pycocotools/cocoeval.py:193
Functiondecode
(rleObjs)
utils/pycocotools/mask.py:88
Functiondecode_multi
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
utils/box_utils.py:200
Functiondetection_collate
Custom collate fn for dealing with batches of images that have a different number of associated object annotations (bounding boxes). Argument
data/voc0712.py:331
Methoddownload
Download COCO images from mscoco.org server. :param tarDir (str): COCO results directory name imgIds (list): images to
utils/pycocotools/coco.py:353
Functionencode
(bimask)
utils/pycocotools/mask.py:81
Functionencode_multi
Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard overlap) with the prior boxes. Arg
utils/box_utils.py:155
MethodevaluateImg
perform evaluation for single category and image :return: dict (single image results)
utils/pycocotools/cocoeval.py:236
Methodevaluate_detections
all_boxes is a list of length number-of-classes. Each list element is a list of length number-of-images. Each of those list e
data/voc0712.py:243
Methodfilename
(self)
configs/CC.py:130
Methodforward
(self, x)
layers/senet.py:96
Methodforward
(self, x)
layers/senet.py:110
Methodforward
(self, x, out_inds)
layers/senet.py:354
Methodforward
(self, x)
layers/nn_utils.py:18
Methodforward
(self, x, y)
layers/nn_utils.py:76
Methodforward
(self, x)
layers/nn_utils.py:151
Methodforward
(self, x)
layers/resnet.py:38
Methodforward
(self, x)
layers/resnet.py:73
Methodforward
(self, x, out_inds=[2,4])
layers/resnet.py:137
Methodforward
Multibox Loss Args: predictions (tuple): A tuple containing loc preds, conf preds, and prior boxes from SSD net.
layers/modules/multibox_loss.py:47
Methodforward
Args: loc_data: (tensor) Loc preds from loc layers Shape: [batch,num_priors*4] conf_data: (tensor) Sh
layers/functions/detection.py:21
Methodforward
(self)
layers/functions/prior_box.py:33
Methodhisto_summary
Log a histogram of the tensor of values.
logger.py:45
Methodimage_summary
Log a list of images.
logger.py:22
Methodinfo
Print information about the annotation file. :return:
utils/pycocotools/coco.py:116
Methodload_weights
(self, base_file)
m2det.py:178
Functionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
utils/box_utils.py:234
Methodpull_anno
Returns the original annotation of image at index Note: not using self.__getitem__(), as any transformations passed in could mess up
data/voc0712.py:212
Methodpull_tensor
Returns the original image at an index in tensor form Note: not using self.__getitem__(), as any transformations passed in could mess
data/coco.py:185
Methodpull_tensor
Returns the original image at an index in tensor form Note: not using self.__getitem__(), as any transformations passed in could mess
data/voc0712.py:229
Functionpy_cpu_nms
Pure Python NMS baseline.
utils/nms/py_cpu_nms.py:10
Functionresnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
layers/resnet.py:187
Functionresnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
layers/resnet.py:199
Functionresnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
layers/resnet.py:151
Functionresnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
layers/resnet.py:163
Functionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
layers/resnet.py:175
FunctionrleDecode
utils/pycocotools/maskApi.c:43
FunctionrleEncode
utils/pycocotools/maskApi.c:32
FunctionrleFrBbox
utils/pycocotools/maskApi.c:148
FunctionrleFrString
utils/pycocotools/maskApi.c:217
← previousnext →101–200 of 216, ranked by callers