MCPcopy Create free account

hub / github.com/WisconsinAIVision/yolact_edge / functions

Functions396 in github.com/WisconsinAIVision/yolact_edge

↓ 1 callersMethodcc_fast_nms
(self, boxes, masks, scores, iou_threshold:float=0.5, top_k:int=200)
yolact_edge/layers/functions/detection.py:138
↓ 1 callersFunctionchange
Compute the d_change metric proposed in Box2Pix: https://lmb.informatik.uni-freiburg.de/Publications/2018/UB18/paper-box2pix.pdf Inp
yolact_edge/layers/box_utils.py:84
↓ 1 callersMethodclass_existence_loss
(self, class_data, class_existence_t)
yolact_edge/layers/modules/multibox_loss.py:203
↓ 1 callersFunctioncleanup_and_exit
()
eval.py:676
↓ 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
yolact_edge/layers/modules/multibox_loss.py:403
↓ 1 callersFunctioncompute_recall
(hits, base_hits)
yolact_edge/scripts/optimize_bboxes.py:110
↓ 1 callersFunctioncompute_validation_map
(yolact_net, dataset)
train.py:690
↓ 1 callersMethodcreate_embed_flow_net
(self)
yolact_edge/yolact.py:1438
↓ 1 callersMethodcreate_partial_backbone
(self)
yolact_edge/yolact.py:1442
↓ 1 callersFunctiondeconv_no_relu
(in_features, out_features)
yolact_edge/yolact.py:395
↓ 1 callersMethoddirect_mask_loss
Crops the gt masks using the predicted bboxes, scales them down, and outputs the BCE loss.
yolact_edge/layers/modules/multibox_loss.py:359
↓ 1 callersFunctiondisplay_lincomb
(proto_data, masks)
yolact_edge/layers/output_utils.py:170
↓ 1 callersMethoddump_web
Dumps it in the format for my web app. Warning: bad code ahead!
eval.py:332
↓ 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
yolact_edge/layers/box_utils.py:185
↓ 1 callersFunctioneval_network
(inp)
eval.py:691
↓ 1 callersFunctionevalimages
(net:Yolact, input_folder:str, output_folder:str, detections:Detections=None)
eval.py:626
↓ 1 callersFunctionevaluate
(net:Yolact, dataset, train_mode=False, train_cfg=None)
eval.py:893
↓ 1 callersFunctionevalvideo
(net:Yolact, path:str)
eval.py:651
↓ 1 callersMethodextra_loss
(self, net_outs, gt_net_outs)
yolact_edge/yolact.py:1365
↓ 1 callersMethodfast_nms
(self, boxes, masks, scores, iou_threshold:float=0.5, top_k:int=200, second_threshold:bool=False)
yolact_edge/layers/functions/detection.py:166
↓ 1 callersMethodfilter_dataset_map
(self)
yolact_edge/data/coco.py:85
↓ 1 callersMethodfine_tune_layers
(self)
yolact_edge/yolact.py:1344
↓ 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
yolact_edge/layers/modules/multibox_loss.py:264
↓ 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
yolact_edge/layers/modules/multibox_loss.py:325
↓ 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
yolact_edge/layers/modules/multibox_loss.py:294
↓ 1 callersMethodforward_flow
(self, extras)
yolact_edge/yolact.py:1413
↓ 1 callersMethodgather
(self, outputs, output_device)
eval.py:647
↓ 1 callersFunctiongenerate_grid_as
(n: int, h: int, w: int, t: torch.Tensor)
yolact_edge/layers/warp_utils.py:26
↓ 1 callersMethodget_ap
Warning: result not cached.
eval.py:525
↓ 1 callersFunctionget_next_frame
(vid)
eval.py:683
↓ 1 callersMethodget_path
(self, root:str='')
yolact_edge/utils/functions.py:106
↓ 1 callersFunctionget_rank
()
yolact_edge/utils/misc.py:19
↓ 1 callersFunctionget_transformed_cat
transformed_cat_id is [0,80) as indices in cfg.dataset.class_names
eval.py:285
↓ 1 callersMethodinfinite_indices
(self)
yolact_edge/data/sampler_utils.py:31
↓ 1 callersMethodinit_backbone
Initializes the backbone weights for training.
yolact_edge/backbone.py:410
↓ 1 callersFunctioninit_console
Initialize the console to be able to use ANSI escape characters on Windows.
yolact_edge/utils/functions.py:85
↓ 1 callersFunctionintersect
(box_a, box_b)
yolact_edge/utils/augmentations.py:11
↓ 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
yolact_edge/layers/box_utils.py:32
↓ 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
yolact_edge/scripts/bbox_recall.py:24
↓ 1 callersFunctionintersect
(box_a, box_b)
yolact_edge/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
yolact_edge/scripts/optimize_bboxes.py:24
↓ 1 callersMethodis_empty
(self)
eval.py:522
↓ 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
yolact_edge/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
yolact_edge/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
yolact_edge/utils/augmentations.py:18
↓ 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
yolact_edge/scripts/augment_bbox.py:98
↓ 1 callersMethodlincomb_mask_loss
(self, pos, idx_t, loc_data, mask_data, priors, proto_data, masks, gt_box_t, inst_data, interpolation_mode='bi
yolact_edge/layers/modules/multibox_loss.py:427
↓ 1 callersMethodload_trt_cached_module
(self, module_name, int8_mode=False, batch_size=1)
yolact_edge/yolact.py:1463
↓ 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
yolact_edge/layers/box_utils.py:271
↓ 1 callersFunctionmake_layer
(layer_cfg)
yolact_edge/yolact.py:62
↓ 1 callersFunctionmake_priors
(conv_size, scales, aspect_ratios)
yolact_edge/scripts/bbox_recall.py:74
↓ 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.
yolact_edge/scripts/compute_masks.py:10
↓ 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
yolact_edge/layers/box_utils.py:114
↓ 1 callersFunctionmulti_gpu_rescale
(args)
train.py:129
↓ 1 callersMethodohem_conf_loss
(self, conf_data, conf_t, pos, num)
yolact_edge/layers/modules/multibox_loss.py:230
↓ 1 callersFunctionoptimize
(full_bboxes, optim_idx, batch_size=5000)
yolact_edge/scripts/optimize_bboxes.py:124
↓ 1 callersFunctionparse_args
(argv=None)
eval.py:45
↓ 1 callersFunctionparse_args
(argv=None)
yolact_edge/inference.py:25
↓ 1 callersFunctionplot_train
(data)
yolact_edge/scripts/plot_loss.py:44
↓ 1 callersFunctionplot_val
(data)
yolact_edge/scripts/plot_loss.py:63
↓ 1 callersMethodpredict
(self, img, show=False)
yolact_edge/inference.py:287
↓ 1 callersFunctionprep_box
(box_list)
yolact_edge/scripts/augment_bbox.py:27
↓ 1 callersMethodprep_output
Note: If undo_transform=False then im_h and im_w are allowed to be None.
yolact_edge/inference.py:172
↓ 1 callersFunctionprepare_flow_data
(datum)
train.py:629
↓ 1 callersFunctionprint_maps
(all_maps)
eval.py:1189
↓ 1 callersFunctionprint_out
()
yolact_edge/scripts/optimize_bboxes.py:182
↓ 1 callersFunctionprocess
(bboxes)
yolact_edge/scripts/cluster_bbox_sizes.py:24
↓ 1 callersFunctionrandom_sample_crop
(height, width, boxes=None)
yolact_edge/scripts/augment_bbox.py:118
↓ 1 callersFunctionrandomize
(val)
yolact_edge/scripts/make_grid.py:93
↓ 1 callersMethodreadFlow
(name)
yolact_edge/data/flying_chairs.py:92
↓ 1 callersMethodremove_interrupt
(save_folder)
yolact_edge/utils/functions.py:129
↓ 1 callersMethodsave_trt_cached_module
(self, module, module_name, int8_mode=False, batch_size=1)
yolact_edge/yolact.py:1471
↓ 1 callersFunctionsavevideo
(net:Yolact, in_path:str, out_path:str)
eval.py:826
↓ 1 callersMethodsemantic_segmentation_loss
(self, segment_data, mask_t, class_t, interpolation_mode='bilinear')
yolact_edge/layers/modules/multibox_loss.py:206
↓ 1 callersFunctionshuffle_cat
(a, b)
yolact_edge/yolact.py:464
↓ 1 callersFunctiontest_uniqueness
(grids)
yolact_edge/scripts/make_grid.py:138
↓ 1 callersFunctionto_relative
(bboxes)
yolact_edge/scripts/cluster_bbox_sizes.py:21
↓ 1 callersFunctionto_relative
(bboxes)
yolact_edge/scripts/bbox_recall.py:70
↓ 1 callersFunctionto_relative
(bboxes)
yolact_edge/scripts/optimize_bboxes.py:70
↓ 1 callersMethodto_tensorrt
(self, int8_mode=False, calibration_dataset=None, batch_size=1)
yolact_edge/yolact.py:554
↓ 1 callersMethodto_tensorrt_backbone
Converts the Backbone to a TRTModule.
yolact_edge/yolact.py:1488
↓ 1 callersMethodto_tensorrt_flow_net
Converts FlowNet to a TRTModule.
yolact_edge/yolact.py:1596
↓ 1 callersMethodto_tensorrt_fpn
Converts FPN to a TRTModule.
yolact_edge/yolact.py:1514
↓ 1 callersMethodto_tensorrt_prediction_head
Converts Prediction Head to a TRTModule.
yolact_edge/yolact.py:1569
↓ 1 callersMethodto_tensorrt_protonet
Converts ProtoNet to a TRTModule.
yolact_edge/yolact.py:1502
↓ 1 callersMethodto_tensorrt_spa
Converts SPA to a TRTModule.
yolact_edge/yolact.py:1582
↓ 1 callersFunctiontotal_time
Returns the total amount accumulated across all functions in seconds.
yolact_edge/utils/timer.py:109
↓ 1 callersMethodtraditional_nms
(self, boxes, masks, scores, iou_threshold=0.5, conf_thresh=0.05)
yolact_edge/layers/functions/detection.py:239
↓ 1 callersFunctiontrain
(rank, args)
train.py:146
↓ 1 callersFunctiontransform_frame
(frames)
eval.py:686
↓ 1 callersMethodtransform_key
Transform e.g. features.24.bias to layers.4.1.bias
yolact_edge/backbone.py:404
Method__call__
(self, img, masks=None, boxes=None, labels=None)
yolact_edge/utils/augmentations.py:52
Method__call__
(self, img, masks=None, boxes=None, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:72
Method__call__
(self, img, masks=None, boxes=None, labels=None)
yolact_edge/utils/augmentations.py:94
Method__call__
(self, image, masks=None, boxes=None, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:99
Method__call__
(self, image, masks=None, boxes=None, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:107
Method__call__
(self, image, masks=None, boxes=None, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:121
Method__call__
(self, image, masks, boxes=None, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:151
Method__call__
(self, image, masks, boxes, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:203
Method__call__
(self, image, masks=None, boxes=None, labels=None, seeds=None, require_seeds=False)
yolact_edge/utils/augmentations.py:253
← previousnext →101–200 of 396, ranked by callers