MCPcopy Create free account

hub / github.com/dbolya/yolact / functions

Functions449 in github.com/dbolya/yolact

↓ 2 callersFunctionPe
(e,t)
web/scripts/jquery.js:2
↓ 2 callersFunctionSe
()
web/scripts/jquery.js:2
↓ 2 callersFunction_bbox_iou
(bbox1, bbox2, iscrowd=False)
eval.py:381
↓ 2 callersMethod_color
(self, idx:int)
utils/logger.py:205
↓ 2 callersFunction_e
(e,t)
web/scripts/jquery.js:2
↓ 2 callersFunction_mask_iou
(mask1, mask2, iscrowd=False)
eval.py:376
↓ 2 callersFunction_run_cmd
Runs a command and returns a list of output lines.
utils/nvinfo.py:59
↓ 2 callersFunction_t
(e,t,n,r)
web/scripts/jquery.js:2
↓ 2 callersMethod_update_str
(self)
utils/functions.py:75
↓ 2 callersFunctionaddRect
(x, y, w, h, fill)
web/scripts/iou.js:152
↓ 2 callersFunctionadd_item
(item, val)
web/scripts/viewer.js:82
↓ 2 callersMethodbar
Plot a bar chart. The result of x should be list or dictionary.
utils/logger.py:375
↓ 2 callersFunctioncalc_map
(ap_data)
eval.py:1006
↓ 2 callersMethodcalc_size_preserve_ar
I mathed this one out on the piece of paper. Resulting width*height = approx max_size^2
utils/augmentations.py:133
↓ 2 callersFunctioncenter_size
Convert prior_boxes to (cx, cy, w, h) representation for comparison to center-size form ground truth data. Args: boxes: (tensor) poin
layers/box_utils.py:21
↓ 2 callersFunctioncompute_hits
(bboxes, anchors, iou_threshold=0.5)
scripts/optimize_bboxes.py:104
↓ 2 callersFunctioncompute_validation_map
(epoch, iteration, yolact_net, dataset, log:Log=None)
train.py:485
↓ 2 callersFunctioncrop
"Crop" predicted masks by zeroing out everything not in the predicted bbox. Vectorized by Chong (thanks Chong). Args: - masks sh
layers/box_utils.py:350
↓ 2 callersFunctionde
(e)
web/scripts/jquery.js:2
↓ 2 callersMethoddetect
Perform nms for only the max scoring class that isn't background (class 0)
layers/functions/detection.py:81
↓ 2 callersFunctionet
(e,t,n)
web/scripts/jquery.js:2
↓ 2 callersFunctionevalvideo
(net:Yolact, path:str, out_path:str=None)
eval.py:636
↓ 2 callersFunctionextend
()
web/scripts/js.cookie.js:27
↓ 2 callersFunctionget_coco_cat
transformed_cat_id is [0,80) as indices in cfg.dataset.class_names
eval.py:291
↓ 2 callersFunctionget_color
(j, on_gpu=None)
eval.py:170
↓ 2 callersMethodget_interrupt
(save_folder)
utils/functions.py:138
↓ 2 callersFunctionget_label_map
()
data/coco.py:13
↓ 2 callersFunctioninit
(converter)
web/scripts/js.cookie.js:39
↓ 2 callersMethodinit_weights
Initialize weights for training.
yolact.py:492
↓ 2 callersMethodload_weights
Loads weights from a compressed save file.
yolact.py:477
↓ 2 callersFunctionm
(e,t,n)
web/scripts/jquery.js:2
↓ 2 callersFunctionmake_priors
(conv_size, scales, aspect_ratios)
scripts/optimize_bboxes.py:74
↓ 2 callersFunctionmake_slider
(name, setting, min, max)
web/scripts/viewer.js:113
↓ 2 callersFunctionne
(e,t)
web/scripts/jquery.js:2
↓ 2 callersFunctionpaint_mask
(img_numpy, mask, color)
scripts/compute_masks.py:22
↓ 2 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:8
↓ 2 callersFunctionprepare_data
(datum, devices:list=None, allocation:list=None)
train.py:399
↓ 2 callersMethodpull_item
Args: index (int): Index Returns: tuple: Tuple (image, target, masks, height, width, crowd).
data/coco.py:100
↓ 2 callersMethodquery
Given a query string (can be already decoded for faster computation), query the entire log and return all values found by that query.
utils/logger.py:290
↓ 2 callersFunctionsave_settings
()
web/scripts/viewer.js:25
↓ 2 callersMethodsend_response
(self, code, message=None)
web/server.py:49
↓ 2 callersFunctionset_dataset
Sets the dataset of the current config.
data/config.py:823
↓ 2 callersFunctionset_lr
(optimizer, new_lr)
train.py:388
↓ 2 callersFunctionst
()
web/scripts/jquery.js:2
↓ 2 callersFunctionstart
Start timing the specific function. Note: If use_stack is True, only one timer can be active at a time. Once you stop this timer, the previo
utils/timer.py:35
↓ 2 callersFunctionstop
If use_stack is True, this will stop the currently running timer and restore the previous timer on the stack if that exists. Note if use_stack is T
utils/timer.py:55
↓ 1 callersFunctionCe
(e)
web/scripts/jquery.js:2
↓ 1 callersFunctionEe
(e,t)
web/scripts/jquery.js:2
↓ 1 callersFunctionKe
(e,t,n)
web/scripts/jquery.js:2
↓ 1 callersFunctionMe
(e,t)
web/scripts/jquery.js:2
↓ 1 callersFunctionQe
(e)
web/scripts/jquery.js:2
↓ 1 callersFunctionR
(e)
web/scripts/jquery.js:2
↓ 1 callersFunctionTe
(e,t,n,r,i,o)
web/scripts/jquery.js:2
↓ 1 callersFunctionUt
(e,t,n,r)
web/scripts/jquery.js:2
↓ 1 callersFunctionXt
(e,t,n)
web/scripts/jquery.js:2
↓ 1 callersMethod__getattr__
(self, name)
utils/logger.py:136
↓ 1 callersMethod__init__
(self, width, height, mean=MEANS, pad_gt=True)
utils/augmentations.py:105
↓ 1 callersMethod__len__
(self)
data/coco.py:97
↓ 1 callersMethod_log_session_header
Log information that does not change between iterations here. This is to cut down on the file size so you're not outputing this every
utils/logger.py:72
↓ 1 callersMethod_make_layer
Each layer is a sequence of conv layers usually preceded by a max pooling. Adapted from torchvision.models.vgg.make_layers.
backbone.py:359
↓ 1 callersMethod_mask_iou
(self, mask1, mask2)
layers/modules/multibox_loss.py:676
↓ 1 callersFunctionadd
(val)
scripts/make_grid.py:113
↓ 1 callersMethodadd_bbox
Note that bbox should be a list or tuple of (x1, y1, x2, y2)
eval.py:306
↓ 1 callersMethodadd_gt_positives
Call this once per image.
eval.py:526
↓ 1 callersMethodadd_layer
Add a downsample layer to the backbone as per what SSD does.
backbone.py:428
↓ 1 callersMethodadd_mask
The segmentation should be the full mask, the size of the image and with size [h, w].
eval.py:320
↓ 1 callersFunctionapi
(key, value, attributes)
web/scripts/js.cookie.js:40
↓ 1 callersFunctionat
()
web/scripts/jquery.js:2
↓ 1 callersFunctionaugment_boxes
(bboxes)
scripts/augment_bbox.py:18
↓ 1 callersFunctionbadhash
Just a quick and dirty hash function for doing a deterministic shuffle based on image_id. Source: https://stackoverflow.com/questions/66
eval.py:583
↓ 1 callersFunctionbe
(e,t,n)
web/scripts/jquery.js:2
↓ 1 callersMethodcc_fast_nms
(self, boxes, masks, scores, iou_threshold:float=0.5, top_k:int=200)
layers/functions/detection.py:111
↓ 1 callersFunctionchange
Compute the d_change metric proposed in Box2Pix: https://lmb.informatik.uni-freiburg.de/Publications/2018/UB18/paper-box2pix.pdf Inp
layers/box_utils.py:129
↓ 1 callersFunctioncheck_gradient_dconv
()
external/DCNv2/test.py:69
↓ 1 callersFunctioncheck_gradient_dpooling
()
external/DCNv2/test.py:134
↓ 1 callersFunctioncheck_pooling_zero_offset
()
external/DCNv2/test.py:100
↓ 1 callersFunctioncheck_zero_offset
()
external/DCNv2/test.py:32
↓ 1 callersMethodclass_existence_loss
(self, class_data, class_existence_t)
layers/modules/multibox_loss.py:215
↓ 1 callersFunctioncleanup_and_exit
()
eval.py:674
↓ 1 callersMethodcoeff_diversity_loss
coeffs should be size [num_pos, num_coeffs] instance_t should be size [num_pos] and be values from 0 to num_instances-1
layers/modules/multibox_loss.py:475
↓ 1 callersFunctioncomputeIoU
(a, b)
web/scripts/iou.js:248
↓ 1 callersFunctioncompute_recall
(hits, base_hits)
scripts/optimize_bboxes.py:110
↓ 1 callersMethodconf_objectness_loss
Instead of using softmax, use class[0] to be p(obj) * p(IoU) as in YOLO. Then for the rest of the classes, softmax them and apply CE
layers/modules/multibox_loss.py:392
↓ 1 callersFunctionconstruct_backbone
Constructs a backbone given a backbone config object (see config.py).
backbone.py:449
↓ 1 callersFunctionconv_identify
(weight, bias)
external/DCNv2/test.py:20
↓ 1 callersMethoddirect_mask_loss
Crops the gt masks using the predicted bboxes, scales them down, and outputs the BCE loss.
layers/modules/multibox_loss.py:431
↓ 1 callersFunctiondisplay_lincomb
(proto_data, masks)
layers/output_utils.py:147
↓ 1 callersMethoddump_web
Dumps it in the format for my web app. Warning: bad code ahead!
eval.py:342
↓ 1 callersFunctionelemwise_box_iou
Does the same as above but instead of pairwise, elementwise along the inner dimension.
layers/box_utils.py:82
↓ 1 callersFunctionencode
Encode bboxes matched with each prior into the format produced by the network. See decode for more details on this format. Note that enco
layers/box_utils.py:230
↓ 1 callersFunctionenforce_size
Ensures that the image is the given size without distorting aspect ratio.
data/coco.py:219
↓ 1 callersFunctioneval_network
(inp)
eval.py:697
↓ 1 callersFunctionevalimages
(net:Yolact, input_folder:str, output_folder:str)
eval.py:612
↓ 1 callersFunctionevaluate
(net:Yolact, dataset, train_mode=False)
eval.py:870
↓ 1 callersFunctionexample_dconv
()
external/DCNv2/test.py:169
↓ 1 callersFunctionexample_dpooling
()
external/DCNv2/test.py:183
↓ 1 callersFunctionexample_mdpooling
()
external/DCNv2/test.py:226
↓ 1 callersMethodfast_nms
(self, boxes, masks, scores, iou_threshold:float=0.5, top_k:int=200, second_threshold:bool=False)
layers/functions/detection.py:137
↓ 1 callersFunctionfill_controls
()
web/scripts/viewer.js:105
↓ 1 callersFunctionfill_info
(info)
web/scripts/viewer.js:79
← previousnext →101–200 of 449, ranked by callers