MCPcopy Create free account

hub / github.com/HRNet/HRNet-MaskRCNN-Benchmark / functions

Functions431 in github.com/HRNet/HRNet-MaskRCNN-Benchmark

↓ 1 callersMethodoverlay_boxes
Adds the predicted boxes on top of the image Arguments: image (np.ndarray): an image as returned by OpenCV p
demo/predictor.py:249
↓ 1 callersMethodoverlay_class_names
Adds detected class names and scores in the positions defined by the top-left corner of the predicted bounding box Arguments
demo/predictor.py:334
↓ 1 callersMethodoverlay_mask
Adds the instances contours for each predicted object. Each label has a different color. Arguments: image (np.nd
demo/predictor.py:272
↓ 1 callersFunctionparse_args
()
tools/cityscapes/convert_cityscapes_to_coco.py:38
↓ 1 callersFunctionpaste_mask_in_image
(mask, box, im_h, im_w, thresh=0.5, padding=1)
maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:118
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
maskrcnn_benchmark/csrc/cpu/ROIAlign_cpu.cpp:18
↓ 1 callersMethodprepare_boxlist
Returns BoxList from `boxes` and adds probability scores information as an extra field `boxes` has shape (#detections, 4 * #c
maskrcnn_benchmark/modeling/roi_heads/box_head/inference.py:76
↓ 1 callersFunctionprepare_for_coco_detection
(predictions, dataset)
maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:67
↓ 1 callersFunctionprepare_for_coco_segmentation
(predictions, dataset)
maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:101
↓ 1 callersMethodprepare_targets
(self, proposals, targets)
maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py:45
↓ 1 callersMethodprepare_targets
(self, proposals, targets)
maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py:70
↓ 1 callersMethodprepare_targets
(self, anchors, targets)
maskrcnn_benchmark/modeling/rpn/loss.py:50
↓ 1 callersFunctionproject_masks_on_boxes
Given segmentation masks and the bounding boxes corresponding to the location of the masks in the image, this function crops and resizes
maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py:11
↓ 1 callersFunctionreduce_loss_dict
Reduce the loss dictionary from all processes so that process with rank 0 has the averaged results. Returns a dict with the same fields as
maskrcnn_benchmark/engine/trainer.py:13
↓ 1 callersFunctionremove_small_boxes
Only keep boxes with both sides >= min_size Arguments: boxlist (Boxlist) min_size (int)
maskrcnn_benchmark/structures/boxlist_ops.py:34
↓ 1 callersMethodresize
(self, size, *args, **kwargs)
maskrcnn_benchmark/structures/segmentation_mask.py:47
↓ 1 callersMethodrun_on_opencv_image
Arguments: image (np.ndarray): an image as returned by OpenCV Returns: prediction (BoxList): the detected ob
demo/predictor.py:160
↓ 1 callersFunctionscatter_gather
This function gathers data from multiple processes, and returns them in a list, as they were obtained from each process. This function i
maskrcnn_benchmark/utils/comm.py:81
↓ 1 callersMethodselect_over_all_levels
(self, boxlists)
maskrcnn_benchmark/modeling/rpn/inference.py:153
↓ 1 callersMethodselect_top_predictions
Select only predictions which have a `score` > self.confidence_threshold, and returns the predictions in descending order of score
demo/predictor.py:220
↓ 1 callersMethodset_epoch
(self, epoch)
maskrcnn_benchmark/data/samplers/distributed.py:65
↓ 1 callersMethodset_low_quality_matches_
Produce additional matches for predictions that have only low-quality matches. Specifically, for each ground-truth find the set of pr
maskrcnn_benchmark/modeling/matcher.py:83
↓ 1 callersFunctionsetup_custom_environment
Load custom environment setup from a Python source file and run the setup function.
maskrcnn_benchmark/utils/env.py:20
↓ 1 callersFunctionsetup_environment
Perform environment setup work. The default setup is a no-op, but this function allows the user to specify a Python source file that performs
maskrcnn_benchmark/utils/env.py:7
↓ 1 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
maskrcnn_benchmark/utils/model_serialization.py:61
↓ 1 callersMethodsubsample
This method performs the positive/negative sampling, and return the sampled proposals. Note: this function keeps a state.
maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py:75
↓ 1 callersMethodtag_last_checkpoint
(self, last_filename)
maskrcnn_benchmark/utils/checkpoint.py:88
↓ 1 callersFunctiontest
(cfg, model, distributed)
tools/train_net.py:83
↓ 1 callersFunctiontrain
(cfg, local_rank, distributed)
tools/train_net.py:30
↓ 1 callersMethodtranspose
(self, method)
maskrcnn_benchmark/structures/segmentation_mask.py:23
↓ 1 callersMethodupdate
(self, coco_eval)
maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:318
↓ 1 callersFunctionvoc_evaluation
(dataset, predictions, output_folder, box_only, **_)
maskrcnn_benchmark/data/datasets/evaluation/voc/__init__.py:6
↓ 1 callersFunctionvoting
(predictions, local_rank, flip=False, num_process=20, overlap=0.7)
tools/test_net.py:35
FunctionPYBIND11_MODULE
maskrcnn_benchmark/csrc/vision.cpp:7
FunctionROIAlignForward_cpu_kernel
maskrcnn_benchmark/csrc/cpu/ROIAlign_cpu.cpp:114
FunctionROIAlign_backward
maskrcnn_benchmark/csrc/ROIAlign.h:27
FunctionROIAlign_forward
Interface for Python
maskrcnn_benchmark/csrc/ROIAlign.h:11
FunctionROIPool_backward
maskrcnn_benchmark/csrc/ROIPool.h:26
FunctionROIPool_forward
maskrcnn_benchmark/csrc/ROIPool.h:11
Method__call__
Arguments: boxlists (list[BoxList])
maskrcnn_benchmark/modeling/poolers.py:31
Method__call__
Args: match_quality_matrix (Tensor[float]): an MxN tensor, containing the pairwise quality between M ground-truth ele
maskrcnn_benchmark/modeling/matcher.py:42
Method__call__
Arguments: matched idxs: list of tensors containing -1, 0 or positive values. Each tensor corresponds to a specif
maskrcnn_benchmark/modeling/balanced_positive_negative_sampler.py:19
Method__call__
Computes the loss for Faster R-CNN. This requires that the subsample method has been called beforehand. Arguments:
maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py:111
Method__call__
Arguments: proposals (list[BoxList]) mask_logits (Tensor) targets (list[BoxList]) Return:
maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py:104
Method__call__
(self, masks, boxes)
maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:180
Method__call__
Arguments: anchors (list[BoxList]) objectness (list[Tensor]) box_regression (list[Tensor]) ta
maskrcnn_benchmark/modeling/rpn/loss.py:78
Method__call__
(self, batch)
maskrcnn_benchmark/data/collate_batch.py:15
Method__call__
(self, image, target)
maskrcnn_benchmark/data/transforms/transforms.py:14
Method__call__
(self, image, target)
maskrcnn_benchmark/data/transforms/transforms.py:76
Method__call__
(self, image, target)
maskrcnn_benchmark/data/transforms/transforms.py:89
Method__call__
(self, image, target)
maskrcnn_benchmark/data/transforms/transforms.py:97
Method__call__
(self, image, target)
maskrcnn_benchmark/data/transforms/transforms.py:107
Method__getattr__
(self, attr)
maskrcnn_benchmark/utils/metric_logger.py:52
Method__getattr__
(self, name)
maskrcnn_benchmark/config/yacs.py:111
Method__getitem__
(self, item)
maskrcnn_benchmark/data/datasets/list_dataset.py:16
Method__getitem__
(self, index)
maskrcnn_benchmark/data/datasets/voc.py:61
Method__getitem__
(self, idx)
maskrcnn_benchmark/data/datasets/coco.py:44
Method__getitem__
(self, item)
maskrcnn_benchmark/structures/segmentation_mask.py:192
Method__getitem__
(self, item)
maskrcnn_benchmark/structures/bounding_box.py:205
Method__init__
Arguments: k_min (int) k_max (int) canonical_scale (int) canonical_level (int) ep
maskrcnn_benchmark/modeling/poolers.py:16
Method__init__
Arguments: output_size (list[tuple[int]] or list[int]): output size for the pooled region scales (list[float]): scale
maskrcnn_benchmark/modeling/poolers.py:55
Method__init__
Args: high_threshold (float): quality values greater than or equal to this value are candidate matches.
maskrcnn_benchmark/modeling/matcher.py:23
Method__init__
Arguments: batch_size_per_image (int): number of elements to be selected per image positive_fraction (float): percent
maskrcnn_benchmark/modeling/balanced_positive_negative_sampler.py:10
Method__init__
Arguments: weights (4-element tuple) bbox_xform_clip (float)
maskrcnn_benchmark/modeling/box_coder.py:13
Method__init__
(self, inplanes, planes, stride=1)
maskrcnn_benchmark/modeling/backbone/hrnet.py:13
Method__init__
(self, inplanes, planes, stride=1)
maskrcnn_benchmark/modeling/backbone/hrnet.py:55
Method__init__
(self, num_branches, blocks, num_blocks, num_inchannels, num_channels, fuse_method, multi_sca
maskrcnn_benchmark/modeling/backbone/hrnet.py:101
Method__init__
Arguments: in_channels_list (list[int]): number of channels for each feature map that will be fed out
maskrcnn_benchmark/modeling/backbone/fpn.py:14
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/backbone/hrfpn.py:8
Method__init__
( self, block_module, stages, num_groups=1, width_per_group=64,
maskrcnn_benchmark/modeling/backbone/resnet.py:126
Method__init__
( self, in_channels, bottleneck_channels, out_channels, num_groups=1,
maskrcnn_benchmark/modeling/backbone/resnet.py:201
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/backbone/resnet.py:276
Method__init__
(self, cfg, heads)
maskrcnn_benchmark/modeling/roi_heads/roi_heads.py:14
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/roi_heads/box_head/box_head.py:16
Method__init__
Arguments: proposal_matcher (Matcher) fg_bg_sampler (BalancedPositiveNegativeSampler) box_coder (BoxCoder
maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py:21
Method__init__
(self, config, pretrained=None)
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py:6
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py:34
Method__init__
Arguments: score_thresh (float) nms (float) detections_per_img (int) box_coder (BoxCoder)
maskrcnn_benchmark/modeling/roi_heads/box_head/inference.py:19
Method__init__
(self, config)
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_feature_extractors.py:12
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_feature_extractors.py:50
Method__init__
Arguments: proposal_matcher (Matcher) discretization_size (int)
maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py:48
Method__init__
Arguments: num_classes (int): number of output classes input_size (int): number of channels of the input once it's fl
maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_feature_extractors.py:15
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/roi_heads/mask_head/mask_head.py:37
Method__init__
(self, masker=None)
maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:23
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_predictors.py:10
Method__init__
Arguments: proposal_matcher (Matcher) fg_bg_sampler (BalancedPositiveNegativeSampler) box_coder (BoxCoder
maskrcnn_benchmark/modeling/rpn/loss.py:24
Method__init__
( self, sizes=(128, 256, 512), aspect_ratios=(0.5, 1.0, 2.0), anchor_strides=(
maskrcnn_benchmark/modeling/rpn/anchor_generator.py:40
Method__init__
Arguments: pre_nms_top_n (int) post_nms_top_n (int) nms_thresh (float) min_size (int)
maskrcnn_benchmark/modeling/rpn/inference.py:19
Method__init__
(self, cfg, in_channels, num_anchors)
maskrcnn_benchmark/modeling/rpn/rpn.py:16
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/rpn/rpn.py:90
Method__init__
(self, cfg)
maskrcnn_benchmark/modeling/detector/generalized_rcnn.py:26
Method__init__
( self, cfg, model, optimizer=None, scheduler=None, save_dir="
maskrcnn_benchmark/utils/checkpoint.py:101
Method__init__
(self, window_size=20)
maskrcnn_benchmark/utils/metric_logger.py:13
Method__init__
(self, delimiter="\t")
maskrcnn_benchmark/utils/metric_logger.py:41
Method__init__
(self, *args, **kwargs)
maskrcnn_benchmark/utils/registry.py:31
Method__init__
( self, optimizer, milestones, gamma=0.1, warmup_factor=1.0 / 3,
maskrcnn_benchmark/solver/lr_scheduler.py:56
Method__init__
(self, size_divisible=0)
maskrcnn_benchmark/data/collate_batch.py:12
Method__init__
(self, dataset, num_replicas=None, rank=None, shuffle=True)
maskrcnn_benchmark/data/samplers/distributed.py:25
Method__init__
(self, batch_sampler, num_iterations, start_iter=0)
maskrcnn_benchmark/data/samplers/iteration_based_batch_sampler.py:11
Method__init__
(self, sampler, group_ids, batch_size, drop_uneven=False)
maskrcnn_benchmark/data/samplers/grouped_batch_sampler.py:24
← previousnext →201–300 of 431, ranked by callers