MCPcopy Create free account

hub / github.com/SeanChenxy/TSSD-OTA / functions

Functions139 in github.com/SeanChenxy/TSSD-OTA

↓ 8 callersMethodexpand
(self, image, boxes, labels, ratio)
utils/augmentations.py:453
↓ 5 callersFunctionbuild_ssd
(phase, size=300, num_classes=21, tssd='ssd', top_k=200, thresh=0.01, prior='v2', bn=False, nms_
ssd.py:528
↓ 4 callersMethod__init__
(self, phase, base, extras, head, num_classes, top_k=200, thresh=0.01, nms_thresh=0.45, attention=False, prior
ssd.py:28
↓ 3 callersFunctionbase_transform
(image, size, mean)
data/__init__.py:8
↓ 2 callersFunctionadd_extras
(cfg, i, batch_norm=False)
ssd.py:461
↓ 2 callersFunctionadjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 at every specified step # Adapted from PyTorch Imagenet example: # https://github.com/p
train.py:477
↓ 2 callersFunctiondecode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
layers/box_utils.py:139
↓ 2 callersMethoddelete_tubelets
(self, cl)
layers/functions/detection.py:148
↓ 2 callersFunctiondo_python_eval
(output_dir='output', use_07=True)
eval.py:189
↓ 2 callersMethodforward
Applies network layers and ops on input image(s) x. Args: x: input image or batch of images. Shape: [batch,3*batch,300,300].
ssd.py:60
↓ 2 callersFunctionget_output_dir
Return the directory where experimental artifacts are placed. If the directory does not exist, it is created. A canonical path is built using
eval.py:150
↓ 2 callersFunctionget_voc_results_file_template
(image_set, cls)
eval.py:162
↓ 2 callersMethodinit_state
(self, input)
ssd.py:248
↓ 2 callersFunctionlog_sum_exp
Utility function for computing log_sum_exp while determining This will be used to determine unaveraged confidence loss across all examples in
layers/box_utils.py:177
↓ 2 callersFunctionmatch
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices corr
layers/box_utils.py:70
↓ 2 callersFunctionmultibox
(vgg, extra_layers, cfg, num_classes, lstm=None, phase='train', batch_norm=False)
ssd.py:485
↓ 2 callersFunctionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
layers/box_utils.py:191
↓ 2 callersMethodpull_item
(self, index)
data/mot.py:125
↓ 2 callersMethodtic
(self)
eval.py:113
↓ 2 callersMethodtic
(self)
eva_MOT.py:22
↓ 2 callersMethodtoc
(self, average=True)
eval.py:118
↓ 2 callersMethodtoc
(self, average=True)
eva_MOT.py:27
↓ 2 callersFunctionvgg
(cfg, i, batch_norm=False)
ssd.py:433
↓ 2 callersFunctionxavier
(param)
train.py:224
↓ 1 callersFunctionIoU
(boxes, tubelets)
layers/box_utils.py:257
↓ 1 callersMethod__init__
(self, num_classes, overlap_thresh, prior_for_matching, bkg_label, neg_mining, neg_pos, neg_o
layers/modules/multibox_loss.py:32
↓ 1 callersFunctionany_same_idx
(idxes)
layers/box_utils.py:315
↓ 1 callersFunctioncos_similarity
(roi_features, tubelets)
layers/box_utils.py:299
↓ 1 callersFunctionencode
Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard overlap) with the prior boxes. Arg
layers/box_utils.py:114
↓ 1 callersFunctionevaluate_detections
(box_list, output_dir, dataset)
eval.py:483
↓ 1 callersMethodinit_tubelets
(self)
layers/functions/detection.py:142
↓ 1 callersFunctionintersect
(box_a, box_b)
utils/augmentations.py:9
↓ 1 callersFunctionintersect
We resize both tensors to [A,B,2] without new malloc: [A,2] -> [A,1,2] -> [A,B,2] [B,2] -> [1,B,2] -> [A,B,2] Then we compute the area of
layers/box_utils.py:28
↓ 1 callersFunctionjaccard
Compute the jaccard overlap of two sets of boxes. The jaccard overlap is simply the intersection over union of two boxes. Here we operate on
layers/box_utils.py:49
↓ 1 callersFunctionjaccard_numpy
Compute the jaccard overlap of two sets of boxes. The jaccard overlap is simply the intersection over union of two boxes. E.g.: A ∩ B
utils/augmentations.py:16
↓ 1 callersMethodload_weights
(self, base_file)
ssd.py:129
↓ 1 callersFunctionmain
()
eva_MOT.py:88
↓ 1 callersFunctionmain
()
test_video.py:57
↓ 1 callersMethodmirror
(self, image, boxes, labels)
utils/augmentations.py:446
↓ 1 callersFunctionorthogonal
(param)
train.py:227
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file
eval.py:129
↓ 1 callersFunctionpoint_form
Convert prior_boxes to (xmin, ymin, xmax, ymax) representation for comparison to point form ground truth data. Args: boxes: (tensor)
layers/box_utils.py:4
↓ 1 callersFunctionprint_log
(args)
train.py:21
↓ 1 callersFunctionprint_network
(net)
utils/param.py:6
↓ 1 callersMethodpull_image
Returns the original image object at index in PIL form Note: not using self.__getitem__(), as any transformations passed in could mes
data/voc0712.py:366
↓ 1 callersMethodpull_img_id
(self, index)
data/voc0712.py:363
↓ 1 callersMethodpull_item
(self, index)
data/voc0712.py:320
↓ 1 callersMethodpull_seqitem
(self, index)
data/mot.py:89
↓ 1 callersMethodpull_seqitem
(self, index)
data/voc0712.py:268
↓ 1 callersMethodreset_parameters
(self)
layers/modules/l2norm.py:16
↓ 1 callersMethodselect_clip
(self, video_id, video_size)
data/mot.py:59
↓ 1 callersMethodselect_clip
(self, video_id, video_size)
data/voc0712.py:227
↓ 1 callersFunctiontest_net
Test a Fast R-CNN network on an image database.
eval.py:409
↓ 1 callersFunctiontrain
()
train.py:329
↓ 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
eval.py:224
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile, classname,
eval.py:258
↓ 1 callersFunctionwrite_voc_results_file
(all_boxes, dataset)
eval.py:172
Method__call__
(self, img, boxes=None, labels=None)
utils/augmentations.py:50
Method__call__
(self, img, boxes=None, labels=None)
utils/augmentations.py:63
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:68
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:76
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:83
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:94
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:108
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:121
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:133
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:147
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:160
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:178
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:191
Method__call__
(self, tensor, boxes=None, labels=None)
utils/augmentations.py:199
Method__call__
(self, cvimage, boxes=None, labels=None)
utils/augmentations.py:204
Method__call__
(self, image, boxes=None, labels=None)
utils/augmentations.py:234
Method__call__
(self, image, boxes, labels)
utils/augmentations.py:316
Method__call__
(self, image, boxes, classes)
utils/augmentations.py:341
Method__call__
Args: image (Tensor): image tensor to be transformed Return: a tensor with channels swapped according to swap
utils/augmentations.py:361
Method__call__
(self, image, boxes, labels)
utils/augmentations.py:389
Method__call__
(self, img, boxes, labels)
utils/augmentations.py:416
Method__call__
(self, img, boxes, labels, mirror=False, expand=0)
utils/augmentations.py:472
Method__call__
(self, image, boxes=None, labels=None)
data/__init__.py:21
Method__call__
Arguments: target (annotation) : the target annotation to be made usable will be an ET.Element Returns:
data/voc0712.py:125
Method__getitem__
(self, index)
data/mot.py:48
Method__getitem__
(self, index)
data/voc0712.py:209
Method__init__
(self)
eval.py:106
Method__init__
(self)
eva_MOT.py:15
Method__init__
(self, inchannel)
ssd.py:140
Method__init__
(self, input_size, hidden_size, phase='train')
ssd.py:162
Method__init__
(self, input_size, hidden_size, kernel_size=3, cuda_flag=True, phase='train')
ssd.py:218
Method__init__
(self, phase, base, extras, head, num_classes, lstm='lstm', size=300, top_k=200,thresh= 0.01,
ssd.py:258
Method__init__
(self, transforms)
utils/augmentations.py:47
Method__init__
(self, lambd)
utils/augmentations.py:59
Method__init__
(self, mean)
utils/augmentations.py:73
Method__init__
(self, size=300)
utils/augmentations.py:105
Method__init__
(self, lower=0.5, upper=1.5)
utils/augmentations.py:115
Method__init__
(self, delta=18.0)
utils/augmentations.py:129
Method__init__
(self)
utils/augmentations.py:142
Method__init__
(self, current='BGR', transform='HSV')
utils/augmentations.py:156
Method__init__
(self, lower=0.5, upper=1.5)
utils/augmentations.py:171
Method__init__
(self, delta=32)
utils/augmentations.py:186
Method__init__
(self)
utils/augmentations.py:221
next →1–100 of 139, ranked by callers