Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VincentHancoder/SSGD
/ functions
Functions
2,751 in github.com/VincentHancoder/SSGD
⨍
Functions
2,751
◇
Types & classes
447
↳
Endpoints
10
↓ 1 callers
Method
get_targets
Compute regression and classification targets in multiple images. Args: gt_bboxes (list[Tensor]): Ground truth bboxes for each im
mmdet/models/dense_heads/centernet_head.py:181
↓ 1 callers
Method
get_targets
Compute target maps for anchors in multiple images. Args: anchor_list (list[list[Tensor]]): Multi level anchors of each
mmdet/models/dense_heads/yolo_head.py:397
↓ 1 callers
Method
get_targets
Compute regression and classification targets for anchors in multiple images. Args: anchor_list (list[list[Tensor]]): Mul
mmdet/models/dense_heads/anchor_head.py:299
↓ 1 callers
Method
get_targets
Compute instance segmentation targets for each image. Args: mask_pred (Tensor): Predicted prototypes with shape (
mmdet/models/dense_heads/yolact_head.py:816
↓ 1 callers
Method
get_targets
Compute regression and classification targets for anchors. Args: anchor_list (list[list]): Multi level anchors of each image.
mmdet/models/dense_heads/cascade_rpn_head.py:286
↓ 1 callers
Method
get_targets
Compute regression and classification targets for anchors in multiple images. Args: cls_scores (Tensor): Classification p
mmdet/models/dense_heads/tood_head.py:549
↓ 1 callers
Method
get_targets
(self, gt_bbox_list, gt_label_list, featmap_sizes, points)
mmdet/models/dense_heads/fovea_head.py:186
↓ 1 callers
Method
get_targets
Compute classification and mask targets for all images for a decoder layer. Args: cls_scores_list (list[Tensor]): Mask sc
mmdet/models/dense_heads/maskformer_head.py:173
↓ 1 callers
Method
get_targets
Compute regression and classification targets for anchors in multiple images. Args: cls_scores_list (list[Tensor]): Class
mmdet/models/dense_heads/yolof_head.py:224
↓ 1 callers
Method
get_targets
Get targets for ATSS head. This method is almost the same as `AnchorHead.get_targets()`. Besides returning the targets as the parent
mmdet/models/dense_heads/atss_head.py:322
↓ 1 callers
Method
get_targets
Get targets for GFL head. This method is almost the same as `AnchorHead.get_targets()`. Besides returning the targets as the parent m
mmdet/models/dense_heads/gfl_head.py:473
↓ 1 callers
Method
get_targets
Compute regression, classification and centerness targets for points in multiple images. Args: points (list[Tensor]): Poi
mmdet/models/dense_heads/fcos_head.py:270
↓ 1 callers
Method
get_targets
Generate corner targets. Including corner heatmap, corner offset. Optional: corner embedding, corner guiding shift, centripetal shif
mmdet/models/dense_heads/corner_head.py:325
↓ 1 callers
Method
get_targets
Compute regression and classification targets for a batch image. Outputs from a single decoder layer of a single feature level are used.
mmdet/models/dense_heads/detr_head.py:419
↓ 1 callers
Method
get_targets
Compute target of mask IoU. Mask IoU target is the IoU of the predicted mask (inside a bbox) and the gt mask of corresponding gt mask
mmdet/models/roi_heads/mask_heads/maskiou_head.py:98
↓ 1 callers
Method
get_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdet/models/roi_heads/mask_heads/dynamic_mask_head.py:139
↓ 1 callers
Method
get_updated_masks
(self, masks, composed_mask)
mmdet/datasets/pipelines/transforms.py:2907
↓ 1 callers
Method
get_valid_ratio
Get the valid radios of feature maps of all level.
mmdet/models/utils/transformer.py:865
↓ 1 callers
Function
get_value
(cfg, key)
mmdet/utils/replace_cfg_vals.py:24
↓ 1 callers
Function
get_version
()
setup.py:25
↓ 1 callers
Function
get_version
()
docs/zh_cn/conf.py:29
↓ 1 callers
Function
get_version
()
docs/en/conf.py:29
↓ 1 callers
Function
get_voc_style_results
(filename, prints='mPC', aggregate='benchmark')
tools/analysis_tools/robustness_eval.py:112
↓ 1 callers
Method
get_whs_and_shapes
Get widths and heights of bboxes and shapes of images. Returns: tuple[np.ndarray]: Array of bbox shapes and array of image
optimize_anchors.py:97
↓ 1 callers
Method
get_whs_and_shapes
Get widths and heights of bboxes and shapes of images. Returns: tuple[np.ndarray]: Array of bbox shapes and array of image
tools/analysis_tools/optimize_anchors.py:97
↓ 1 callers
Function
giou_loss
r"""`Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression <https://arxiv.org/abs/1902.09630>`_. Args:
mmdet/models/losses/iou_loss.py:102
↓ 1 callers
Method
gmm_separation_scheme
A general separation scheme for gmm model. It separates a GMM distribution of candidate samples into three parts, 0 1 and uncertain a
mmdet/models/dense_heads/paa_head.py:367
↓ 1 callers
Function
imshow_gt_det_bboxes
General visualization GT and result function. Args: img (str | ndarray): The image to be displayed. annotation (dict): Ground truth a
mmdet/core/visualization/image.py:376
↓ 1 callers
Method
init
(self)
tests/test_runtime/test_async.py:46
↓ 1 callers
Method
init_assigner_sampler
Initialize assigner and sampler.
mmdet/models/roi_heads/base_roi_head.py:63
↓ 1 callers
Method
init_bbox_head
Initialize ``bbox_head``
mmdet/models/roi_heads/base_roi_head.py:53
↓ 1 callers
Method
init_layers
Initialize layers of the DeformableDetrTransformer.
mmdet/models/utils/transformer.py:737
↓ 1 callers
Method
init_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/base_roi_head.py:58
↓ 1 callers
Method
init_point_head
Initialize ``point_head``
mmdet/models/roi_heads/point_rend_roi_head.py:26
↓ 1 callers
Function
init_random_seed
Initialize random seed. If the seed is not set, the seed will be automatically randomized, and then broadcast to all processes to prevent som
mmdet/apis/train.py:19
↓ 1 callers
Method
init_weights
(self)
mmdet/models/backbones/detectors_resnet.py:296
↓ 1 callers
Method
init_weights
(self)
mmdet/models/backbones/pvt.py:523
↓ 1 callers
Method
init_weights
(self)
mmdet/models/backbones/swin.py:670
↓ 1 callers
Method
init_weights
(self)
mmdet/models/utils/normed_predictor.py:28
↓ 1 callers
Method
instance_postprocess
Instance segmengation postprocess. Args: mask_cls (Tensor): Classfication outputs of shape (num_queries, cls_out_
mmdet/models/seg_heads/panoptic_fusion_heads/maskformer_fusion_head.py:112
↓ 1 callers
Function
iou_loss
IoU loss. Computing the IoU loss between a set of predicted bboxes and target bboxes. The loss is calculated as negative log of IoU. Arg
mmdet/models/losses/iou_loss.py:16
↓ 1 callers
Function
is_head
(key)
tools/model_converters/upgrade_model_version.py:11
↓ 1 callers
Function
is_mlu_available
Returns a bool indicating if MLU is currently available.
mmdet/utils/util_distribution.py:62
↓ 1 callers
Method
kmeans_anchors
(self)
optimize_anchors.py:170
↓ 1 callers
Method
kmeans_anchors
(self)
tools/analysis_tools/optimize_anchors.py:170
↓ 1 callers
Method
kmeans_expectation
Expectation part of EM algorithm(Expectation-Maximization)
optimize_anchors.py:215
↓ 1 callers
Method
kmeans_expectation
Expectation part of EM algorithm(Expectation-Maximization)
tools/analysis_tools/optimize_anchors.py:215
↓ 1 callers
Function
knowledge_distillation_kl_div_loss
r"""Loss function for knowledge distilling using KL divergence. Args: pred (Tensor): Predicted logits with shape (N, n + 1). soft
mmdet/models/losses/kd_loss.py:12
↓ 1 callers
Function
l1_loss
L1 loss. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the prediction. Returns:
mmdet/models/losses/smooth_l1_loss.py:37
↓ 1 callers
Function
legacy_bbox2delta
Compute deltas of proposals w.r.t. gt in the MMDet V1.x manner. We usually compute the deltas of x, y, w, h of proposals w.r.t ground truth b
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:85
↓ 1 callers
Function
legacy_delta2bbox
Apply deltas to shift/scale base boxes in the MMDet V1.x manner. Typically the rois are anchor or proposed bounding boxes and the deltas are
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:134
↓ 1 callers
Method
load_annotations
Load annotation from COCO style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdet/datasets/coco.py:62
↓ 1 callers
Function
load_json_logs
(json_logs)
tools/analysis_tools/analyze_logs.py:168
↓ 1 callers
Method
loss
Get the loss of semantic head. Args: seg_preds (Tensor): The input logits with the shape (N, C, H, W). gt_semantic_se
mmdet/models/seg_heads/base_semantic_head.py:32
↓ 1 callers
Method
loss
Compute losses of the head.
mmdet/models/dense_heads/base_dense_head.py:27
↓ 1 callers
Method
loss
(self, **kwargs)
mmdet/models/dense_heads/base_mask_head.py:14
↓ 1 callers
Method
loss
loss() is implemented in StageCascadeRPNHead.
mmdet/models/dense_heads/cascade_rpn_head.py:720
↓ 1 callers
Method
loss
Loss function. Args: all_cls_scores (Tensor): Classification scores for all decoder layers with shape (num_decode
mmdet/models/dense_heads/maskformer_head.py:278
↓ 1 callers
Method
loss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdet/models/dense_heads/lad_head.py:160
↓ 1 callers
Method
loss
Loss function. Only outputs from the last feature level are used for computing losses by default. Args: all_cls_
mmdet/models/dense_heads/detr_head.py:268
↓ 1 callers
Method
loss
(self, mask_iou_pred, mask_iou_targets)
mmdet/models/roi_heads/mask_heads/maskiou_head.py:88
↓ 1 callers
Method
loss
(self, mask_pred, mask_targets, labels)
mmdet/models/roi_heads/mask_heads/dynamic_mask_head.py:125
↓ 1 callers
Method
loss_loc_single
(self, loc_pred, loc_target, loc_weight, loc_avg_factor)
mmdet/models/dense_heads/guided_anchor_head.py:639
↓ 1 callers
Method
loss_shape_single
(self, shape_pred, bbox_anchors, bbox_gts, anchor_weights, anchor_total_num)
mmdet/models/dense_heads/guided_anchor_head.py:615
↓ 1 callers
Method
loss_single
Compute loss of a single scale level. Args: anchors (Tensor): Box reference for each scale level with shape (N, n
mmdet/models/dense_heads/ld_head.py:38
↓ 1 callers
Function
main
()
browse_dataset.py:81
↓ 1 callers
Function
main
()
optimize_anchors.py:322
↓ 1 callers
Function
main
()
tools/train.py:108
↓ 1 callers
Function
main
()
tools/test.py:121
↓ 1 callers
Function
main
()
tools/model_converters/upgrade_model_version.py:196
↓ 1 callers
Function
main
()
tools/model_converters/upgrade_ssd_version.py:48
↓ 1 callers
Function
main
()
tools/model_converters/detectron2pytorch.py:73
↓ 1 callers
Function
main
()
tools/model_converters/regnet2mmdet.py:81
↓ 1 callers
Function
main
()
tools/model_converters/publish_model.py:37
↓ 1 callers
Function
main
()
tools/model_converters/selfsup2mmdet.py:28
↓ 1 callers
Function
main
()
tools/analysis_tools/test_robustness.py:181
↓ 1 callers
Function
main
()
tools/analysis_tools/benchmark.py:170
↓ 1 callers
Function
main
()
tools/analysis_tools/browse_dataset.py:81
↓ 1 callers
Function
main
()
tools/analysis_tools/confusion_matrix.py:230
↓ 1 callers
Function
main
()
tools/analysis_tools/analyze_results.py:329
↓ 1 callers
Function
main
()
tools/analysis_tools/robustness_eval.py:198
↓ 1 callers
Function
main
()
tools/analysis_tools/optimize_anchors.py:322
↓ 1 callers
Function
main
()
tools/analysis_tools/coco_error_analysis.py:308
↓ 1 callers
Function
main
()
tools/analysis_tools/analyze_logs.py:191
↓ 1 callers
Function
main
()
tools/analysis_tools/get_flops.py:45
↓ 1 callers
Function
main
()
tools/analysis_tools/eval_metric.py:48
↓ 1 callers
Function
main
()
tools/misc/get_image_metas.py:79
↓ 1 callers
Function
main
()
tools/misc/gen_coco_panoptic_test_info.py:17
↓ 1 callers
Function
main
()
tools/misc/browse_dataset.py:81
↓ 1 callers
Function
main
()
tools/misc/download_dataset.py:65
↓ 1 callers
Function
main
()
tools/misc/print_config.py:43
↓ 1 callers
Function
main
()
tools/dataset_converters/images2coco.py:80
↓ 1 callers
Function
main
()
tools/dataset_converters/pascal_voc.py:197
↓ 1 callers
Function
main
()
tools/dataset_converters/cityscapes.py:127
↓ 1 callers
Function
main
()
tools/deployment/test.py:67
↓ 1 callers
Function
main
(args)
tools/deployment/test_torchserver.py:42
↓ 1 callers
Function
main
()
tools/prepare_data/voc_to_json.py:86
↓ 1 callers
Function
main
Benchmark between async and synchronous inference interfaces. Sample runs for 20 demo images on K80 GPU, model - mask_rcnn_r50_fpn_1x: async
tests/test_runtime/async_benchmark.py:16
↓ 1 callers
Method
make_conv_res_block
In Darknet backbone, ConvLayer is usually followed by ResBlock. This function will make that. The Conv layers always have 3x3 filters with
mmdet/models/backbones/darknet.py:180
↓ 1 callers
Function
make_gt_area_group_numbers_plot
(cocoEval, outDir, verbose=True)
tools/analysis_tools/coco_error_analysis.py:123
← previous
next →
901–1,000 of 2,751, ranked by callers