MCPcopy Create free account

hub / github.com/dbolya/yolact / functions

Functions449 in github.com/dbolya/yolact

↓ 1 callersMethodfocal_conf_loss
Focal loss as described in https://arxiv.org/pdf/1708.02002.pdf Adapted from https://github.com/clcarwin/focal_loss_pytorch/blob/mast
layers/modules/multibox_loss.py:298
↓ 1 callersMethodfocal_conf_objectness_loss
Instead of using softmax, use class[0] to be the objectness score and do sigmoid focal loss on that. Then for the rest of the classes
layers/modules/multibox_loss.py:359
↓ 1 callersMethodfocal_conf_sigmoid_loss
Focal loss but using sigmoid like the original paper. Note: To make things mesh easier, the network still predicts 81 class confidenc
layers/modules/multibox_loss.py:328
↓ 1 callersFunctionft
(e,t)
web/scripts/jquery.js:2
↓ 1 callersMethodget_ap
Warning: result not cached.
eval.py:533
↓ 1 callersFunctionget_extensions
()
external/DCNv2/setup.py:17
↓ 1 callersFunctionget_next_frame
(vid)
eval.py:683
↓ 1 callersMethodget_path
(self, root:str='')
utils/functions.py:110
↓ 1 callersFunctionget_transformed_cat
transformed_cat_id is [0,80) as indices in cfg.dataset.class_names
eval.py:295
↓ 1 callersFunctionhexToRgb
(hex)
web/scripts/utils.js:68
↓ 1 callersFunctioninit2
()
web/scripts/iou.js:165
↓ 1 callersMethodinit_backbone
Initializes the backbone weights for training.
backbone.py:421
↓ 1 callersFunctioninit_console
Initialize the console to be able to use ANSI escape characters on Windows.
utils/functions.py:89
↓ 1 callersMethodinit_offset
(self)
external/DCNv2/dcn_v2.py:114
↓ 1 callersFunctionintersect
(box_a, box_b)
utils/augmentations.py:12
↓ 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:33
↓ 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
scripts/bbox_recall.py:24
↓ 1 callersFunctionintersect
(box_a, box_b)
scripts/augment_bbox.py:91
↓ 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
scripts/optimize_bboxes.py:24
↓ 1 callersMethodis_empty
(self)
eval.py:530
↓ 1 callersFunctionis_object
(val)
web/scripts/viewer.js:77
↓ 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
scripts/bbox_recall.py:45
↓ 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
scripts/optimize_bboxes.py:45
↓ 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:19
↓ 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
scripts/augment_bbox.py:98
↓ 1 callersFunctionjt
(e,t,n,r)
web/scripts/jquery.js:2
↓ 1 callersFunctionl
()
web/scripts/jquery.js:2
↓ 1 callersMethodlincomb_mask_loss
(self, pos, idx_t, loc_data, mask_data, priors, proto_data, masks, gt_box_t, score_data, inst_data, labels, in
layers/modules/multibox_loss.py:499
↓ 1 callersFunctionload_RLE
(rle_obj, fillColor=[255, 255, 255], alpha=255)
web/scripts/utils.js:1
↓ 1 callersFunctionload_settings
()
web/scripts/viewer.js:29
↓ 1 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:316
↓ 1 callersFunctionlt
(e,t,n)
web/scripts/jquery.js:2
↓ 1 callersFunctionmake_layer
(layer_cfg)
utils/functions.py:168
↓ 1 callersFunctionmake_priors
(conv_size, scales, aspect_ratios)
scripts/bbox_recall.py:74
↓ 1 callersMethodmake_priors
Note that priors are [x,y,width,height] where (x,y) is the center of the box.
yolact.py:214
↓ 1 callersFunctionmask2bbox
(mask)
scripts/convert_sbd.py:6
↓ 1 callersFunctionmask_iou
Computes the pariwise mask IoU between two sets of masks of size [a, h, w] and [b, h, w]. The output is of size [a, b]. Wait I thought t
layers/box_utils.py:98
↓ 1 callersFunctionmask_iou
Inputs inputs are matricies of size _ x N. Output is size _1 x _2. Note: if iscrowd is True, then mask2 should be the crowd.
scripts/compute_masks.py:10
↓ 1 callersMethodmask_iou_loss
(self, net, maskiou_targets)
layers/modules/multibox_loss.py:684
↓ 1 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:159
↓ 1 callersFunctionnvsmi_available
Returns whether or not nvidia-smi is present in this system's PATH.
utils/nvinfo.py:43
↓ 1 callersMethodohem_conf_loss
(self, conf_data, conf_t, pos, num)
layers/modules/multibox_loss.py:242
↓ 1 callersFunctionoptimize
(full_bboxes, optim_idx, batch_size=5000)
scripts/optimize_bboxes.py:124
↓ 1 callersFunctionparse_args
(argv=None)
eval.py:40
↓ 1 callersFunctionpe
(e)
web/scripts/jquery.js:2
↓ 1 callersFunctionplot_train
(data)
scripts/plot_loss.py:44
↓ 1 callersFunctionplot_val
(data)
scripts/plot_loss.py:63
↓ 1 callersFunctionprep_benchmark
(dets_out, h, w)
eval.py:264
↓ 1 callersFunctionprep_box
(box_list)
scripts/augment_bbox.py:27
↓ 1 callersFunctionprep_coco_cats
Prepare inverted table for category id lookup given a coco cats object.
eval.py:283
↓ 1 callersFunctionprep_metrics
Returns a list of APs for this image, with each element being for a class
eval.py:386
↓ 1 callersFunctionprint_maps
(all_maps)
eval.py:1034
↓ 1 callersFunctionprint_out
()
scripts/optimize_bboxes.py:182
↓ 1 callersFunctionprocess
(bboxes)
scripts/cluster_bbox_sizes.py:24
↓ 1 callersFunctionpt
(e,t,n)
web/scripts/jquery.js:2
↓ 1 callersFunctionrandom_sample_crop
(height, width, boxes=None)
scripts/augment_bbox.py:118
↓ 1 callersFunctionrandomize
(val)
scripts/make_grid.py:93
↓ 1 callersMethodremove_interrupt
(save_folder)
utils/functions.py:133
↓ 1 callersMethodreset_parameters
(self)
external/DCNv2/dcn_v2.py:75
↓ 1 callersMethodsemantic_segmentation_loss
(self, segment_data, mask_t, class_t, interpolation_mode='bilinear')
layers/modules/multibox_loss.py:218
↓ 1 callersMethodsend_file
(self, path)
web/server.py:30
↓ 1 callersMethodsend_str
(self, string)
web/server.py:21
↓ 1 callersFunctionsetup_eval
()
train.py:500
↓ 1 callersFunctionte
(e)
web/scripts/jquery.js:2
↓ 1 callersFunctiontest_uniqueness
(grids)
scripts/make_grid.py:138
↓ 1 callersFunctionto_relative
(bboxes)
scripts/cluster_bbox_sizes.py:21
↓ 1 callersFunctionto_relative
(bboxes)
scripts/bbox_recall.py:70
↓ 1 callersFunctionto_relative
(bboxes)
scripts/optimize_bboxes.py:70
↓ 1 callersFunctiontotal_time
Returns the total amount accumulated across all functions in seconds.
utils/timer.py:109
↓ 1 callersMethodtraditional_nms
(self, boxes, masks, scores, iou_threshold=0.5, conf_thresh=0.05)
layers/functions/detection.py:182
↓ 1 callersFunctiontrain
()
train.py:172
↓ 1 callersFunctiontransform_frame
(frames)
eval.py:692
↓ 1 callersMethodtransform_key
Transform e.g. features.24.bias to layers.4.1.bias
backbone.py:415
↓ 1 callersFunctionuncompress_RLE
(rle_str)
web/scripts/utils.js:43
↓ 1 callersFunctionundo_image_transformation
Takes a transformed image tensor and returns a numpy ndarray that is untransformed. Arguments w and h are the original height and width of th
layers/output_utils.py:128
↓ 1 callersFunctionvisible_gpus
Returns a list of the indexes of all the gpus visible to pytorch.
utils/nvinfo.py:48
FunctionBox2
()
web/scripts/iou.js:69
FunctionD
(e,t)
web/scripts/jquery.js:2
FunctionDCN
(*args, **kwdargs)
backbone.py:10
FunctionHe
(e)
web/scripts/jquery.js:2
FunctionI
(e)
web/scripts/jquery.js:2
FunctionOe
(e)
web/scripts/jquery.js:2
FunctionQ
()
web/scripts/jquery.js:2
FunctionTt
(e)
web/scripts/jquery.js:2
FunctionV
(e,t)
web/scripts/jquery.js:2
FunctionW
(e)
web/scripts/jquery.js:2
Function_
()
web/scripts/jquery.js:2
Method__call__
(self, img, masks=None, boxes=None, labels=None)
utils/augmentations.py:53
Method__call__
(self, img, masks=None, boxes=None, labels=None)
utils/augmentations.py:66
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:71
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:77
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:88
Method__call__
(self, image, masks, boxes=None, labels=None)
utils/augmentations.py:111
Method__call__
(self, image, masks, boxes, labels=None)
utils/augmentations.py:145
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:190
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:202
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:216
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:231
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:249
Method__call__
(self, image, masks=None, boxes=None, labels=None)
utils/augmentations.py:262
← previousnext →201–300 of 449, ranked by callers