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_bboxes_single
Similar to func:``AnchorHead._get_bboxes_single``, but additionally processes coeff_preds_list and uses fast NMS instead of traditional
mmdet/models/dense_heads/yolact_head.py:358
↓ 1 callers
Method
_get_bboxes_single
Transform outputs of a single image into bbox predictions. Args: cls_scores (list[Tensor]): Box scores from all scale
mmdet/models/dense_heads/cascade_rpn_head.py:547
↓ 1 callers
Method
_get_bboxes_single
(self, cls_scores, bbox_cls_preds,
mmdet/models/dense_heads/sabl_retina_head.py:567
↓ 1 callers
Method
_get_bboxes_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
mmdet/models/dense_heads/detr_head.py:628
↓ 1 callers
Function
_get_bias_color
Get different colors for each masks. Get different colors for each masks by adding a bias color to the base category color. Args:
mmdet/core/visualization/image.py:61
↓ 1 callers
Function
_get_config_directory
Find the predefined detector config directory.
tests/test_runtime/test_config.py:12
↓ 1 callers
Function
_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_loss_compatibility.py:11
↓ 1 callers
Function
_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_forward.py:11
↓ 1 callers
Function
_get_config_module
Load a configuration as a python module.
tests/test_models/test_loss_compatibility.py:26
↓ 1 callers
Method
_get_crop_size
Randomly generates the absolute crop size based on `crop_type` and `image_size`. Args: image_size (tuple): (h, w).
mmdet/datasets/pipelines/transforms.py:854
↓ 1 callers
Method
_get_guided_anchors_single
Get guided anchors and loc masks for a single level. Args: square (tensor): Squares of a single level. shape_pred (te
mmdet/models/dense_heads/guided_anchor_head.py:350
↓ 1 callers
Method
_get_l1_target
Convert gt bboxes to center offset and log width height.
mmdet/models/dense_heads/yolox_head.py:488
↓ 1 callers
Method
_get_points_single
Get points of a single scale level. This function will be deprecated soon.
mmdet/models/dense_heads/anchor_free_head.py:282
↓ 1 callers
Method
_get_repeat_factors
Get repeat factor for each images in the dataset. Args: dataset (:obj:`CustomDataset`): The dataset repeat_thr (float
mmdet/datasets/dataset_wrappers.py:267
↓ 1 callers
Method
_get_results_single
Get processed mask related results of single image. Args: kernel_preds (Tensor): Dynamic kernel prediction of all points
mmdet/models/dense_heads/solov2_head.py:628
↓ 1 callers
Method
_get_results_single
Get processed mask related results of single image. Args: cls_scores (Tensor): Classification score of all points
mmdet/models/dense_heads/solo_head.py:473
↓ 1 callers
Method
_get_results_single
Get processed mask related results of single image. Args: cls_scores (Tensor): Classification score of all points
mmdet/models/dense_heads/solo_head.py:924
↓ 1 callers
Method
_get_rotation_matrix
(rotate_degrees)
mmdet/datasets/pipelines/transforms.py:2679
↓ 1 callers
Method
_get_scaling_matrix
(scale_ratio)
mmdet/datasets/pipelines/transforms.py:2688
↓ 1 callers
Method
_get_shear_matrix
(x_shear_degrees, y_shear_degrees)
mmdet/datasets/pipelines/transforms.py:2702
↓ 1 callers
Method
_get_targets_single
Compute targets for predictions of single image. Args: gt_bboxes (Tensor): Ground truth bbox of each instance, sh
mmdet/models/dense_heads/solo_head.py:290
↓ 1 callers
Method
_get_translation_matrix
(x, y)
mmdet/datasets/pipelines/transforms.py:2711
↓ 1 callers
Function
_imequalize
(img)
tests/test_data/test_pipelines/test_transform/test_img_augment.py:46
↓ 1 callers
Method
_imequalize
Equalizes the histogram of one image.
mmdet/datasets/pipelines/auto_augment.py:775
↓ 1 callers
Method
_indices_of_rank
Slice the infinite indices by rank.
mmdet/datasets/samplers/infinite_sampler.py:82
↓ 1 callers
Method
_indices_of_rank
Slice the infinite indices by rank.
mmdet/datasets/samplers/infinite_sampler.py:166
↓ 1 callers
Method
_infinite_indices
Infinitely yield a sequence of indices.
mmdet/datasets/samplers/infinite_sampler.py:71
↓ 1 callers
Method
_infinite_indices
Infinitely yield a sequence of indices.
mmdet/datasets/samplers/infinite_sampler.py:155
↓ 1 callers
Method
_init_centripetal_layers
Initialize centripetal layers. Including feature adaption deform convs (feat_adaption), deform offset prediction convs (dcn_off), gui
mmdet/models/dense_heads/centripetal_head.py:73
↓ 1 callers
Method
_init_corner_emb_layers
Initialize corner embedding layers. Only include corner embedding branch with two parts: prefix `tl_` for top-left and `br_` for bott
mmdet/models/dense_heads/corner_head.py:203
↓ 1 callers
Method
_init_corner_kpt_layers
Initialize corner keypoint layers. Including corner heatmap branch and corner offset branch. Each branch has two parts: prefix `tl_`
mmdet/models/dense_heads/corner_head.py:165
↓ 1 callers
Method
_init_data_table
Initialize the W&B Tables for validation data.
mmdet/core/hook/wandblogger_hook.py:313
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/necks/dilated_encoder.py:78
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/solov2_head.py:65
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/guided_anchor_head.py:217
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ssd_head.py:125
↓ 1 callers
Method
_init_layers
Initialize a sparse set of proposal boxes and proposal features.
mmdet/models/dense_heads/embedding_rpn_head.py:38
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/yolo_head.py:152
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/anchor_head.py:127
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/yolact_head.py:490
↓ 1 callers
Method
_init_layers
A helper function to take a config setting and turn it into a network.
mmdet/models/dense_heads/yolact_head.py:625
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/anchor_free_head.py:107
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/yolox_head.py:131
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/solo_head.py:102
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/sabl_retina_head.py:163
↓ 1 callers
Method
_init_layers
Initialize layers for CornerHead. Including two parts: corner keypoint layers and corner embedding layers
mmdet/models/dense_heads/corner_head.py:221
↓ 1 callers
Method
_init_layers
Initialize layers of the transformer head.
mmdet/models/dense_heads/detr_head.py:152
↓ 1 callers
Function
_init_model
(num_stuff_classes)
tests/test_models/test_dense_heads/test_mask2former_head.py:108
↓ 1 callers
Method
_init_predictor
Initialize predictor layers of the head.
mmdet/models/dense_heads/anchor_free_head.py:153
↓ 1 callers
Method
_init_weight
(self)
tests/test_utils/test_hook.py:175
↓ 1 callers
Method
_init_weights
(self)
mmdet/models/necks/dyhead.py:91
↓ 1 callers
Method
_lay_masks
Lay instance masks to a result map. Args: bboxes: The bboxes results, (K, 4). labels: The labels of bboxes, (K, ).
mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py:27
↓ 1 callers
Method
_load_anns
(self, results)
mmdet/datasets/pipelines/instaboost.py:56
↓ 1 callers
Function
_load_bboxes
(results)
tests/test_data/test_pipelines/test_transform/test_translate.py:76
↓ 1 callers
Function
_load_labels
(results)
tests/test_data/test_pipelines/test_transform/test_translate.py:86
↓ 1 callers
Function
_load_masks
(results, poly2mask=True)
tests/test_data/test_pipelines/test_transform/test_translate.py:115
↓ 1 callers
Method
_load_masks
Private function to load mask annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdet/datasets/pipelines/loading.py:334
↓ 1 callers
Method
_load_masks_and_semantic_segs
Private function to load mask and semantic segmentation annotations. In gt_semantic_seg, the foreground label is from `0` to `num_thi
mmdet/datasets/pipelines/loading.py:453
↓ 1 callers
Method
_load_semantic_seg
Private function to load semantic segmentation annotations. Args: results (dict): Result dict from :obj:`dataset`. Retur
mmdet/datasets/pipelines/loading.py:359
↓ 1 callers
Method
_log_data_table
Log the W&B Tables for validation data as artifact and calls `use_artifact` on it so that the evaluation table can use the reference o
mmdet/core/hook/wandblogger_hook.py:558
↓ 1 callers
Method
_make_branches
(self, num_branches, block, num_blocks, num_channels)
mmdet/models/backbones/hrnet.py:112
↓ 1 callers
Method
_make_deconv_layer
use deconv layers to upsample backbone's output.
mmdet/models/necks/ct_resnet_neck.py:38
↓ 1 callers
Method
_make_fuse_layers
(self)
mmdet/models/backbones/hrnet.py:121
↓ 1 callers
Method
_make_layer
(self, block, inplanes, planes, blocks, stride=1)
mmdet/models/backbones/hrnet.py:458
↓ 1 callers
Method
_make_one_branch
(self, branch_index, block, num_blo
mmdet/models/backbones/hrnet.py:66
↓ 1 callers
Method
_make_stem_layer
(self, in_channels, stem_channels)
mmdet/models/backbones/resnet.py:565
↓ 1 callers
Method
_make_stem_layer
(self, in_channels, base_channels)
mmdet/models/backbones/regnet.py:238
↓ 1 callers
Method
_mask_focal_loss_cost
Args: cls_pred (Tensor): Predicted classfication logits in shape (num_query, d1, ..., dn), dtype=torch.float32.
mmdet/core/bbox/match_costs/match_cost.py:111
↓ 1 callers
Method
_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdet/models/roi_heads/sparse_roi_head.py:163
↓ 1 callers
Method
_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdet/models/roi_heads/standard_roi_head.py:146
↓ 1 callers
Method
_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdet/models/roi_heads/htc_roi_head.py:113
↓ 1 callers
Method
_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdet/models/roi_heads/cascade_roi_head.py:170
↓ 1 callers
Method
_mask_point_forward_train
Run forward function and calculate loss for point head in training.
mmdet/models/roi_heads/point_rend_roi_head.py:45
↓ 1 callers
Method
_mask_point_onnx_export
Export mask refining process with point head to onnx. Args: x (tuple[Tensor]): Feature maps of all scale level. rois
mmdet/models/roi_heads/point_rend_roi_head.py:284
↓ 1 callers
Method
_mixup_transform
MixUp transform function. Args: results (dict): Result dict. Returns: dict: Updated result dict.
mmdet/datasets/pipelines/transforms.py:2347
↓ 1 callers
Function
_mock_memory_usage
()
tests/test_utils/test_hook.py:390
↓ 1 callers
Function
_mock_swap_memory
()
tests/test_utils/test_hook.py:382
↓ 1 callers
Function
_mock_virtual_memory
()
tests/test_utils/test_hook.py:373
↓ 1 callers
Method
_mosaic_combine
Calculate global coordinate of mosaic image and local coordinate of cropped sub-image. Args: loc (str): Index for the sub
mmdet/datasets/pipelines/transforms.py:2155
↓ 1 callers
Method
_mosaic_transform
Mosaic transform function. Args: results (dict): Result dict. Returns: dict: Updated result dict.
mmdet/datasets/pipelines/transforms.py:2058
↓ 1 callers
Method
_onnx_get_fine_grained_point_feats
Export the process of sampling fine grained feats to onnx. Args: x (tuple[Tensor]): Feature maps of all scale level.
mmdet/models/roi_heads/point_rend_roi_head.py:250
↓ 1 callers
Method
_pad_img
Pad images according to ``self.size``.
mmdet/datasets/pipelines/transforms.py:622
↓ 1 callers
Method
_pad_masks
Pad masks according to ``results['pad_shape']``.
mmdet/datasets/pipelines/transforms.py:640
↓ 1 callers
Method
_pad_seg
Pad semantic segmentation map according to ``results['pad_shape']``.
mmdet/datasets/pipelines/transforms.py:647
↓ 1 callers
Method
_pan2json
Convert panoptic results to COCO panoptic json style.
mmdet/datasets/coco_panoptic.py:410
↓ 1 callers
Method
_parse_ann_info
Parse annotations and load panoptic ground truths. Args: img_info (int): Image info of an image. ann_info (list[dict]
mmdet/datasets/coco_panoptic.py:322
↓ 1 callers
Method
_parse_ann_info
Parse bbox and mask annotation. Args: ann_info (list[dict]): Annotation info of an image. with_mask (bool): Whether t
mmdet/datasets/coco.py:145
↓ 1 callers
Method
_parse_ann_info
Parse bbox and mask annotation. Args: ann_info (list[dict]): Annotation info of an image. with_mask (bool): Whether t
mmdet/datasets/ssgd.py:112
↓ 1 callers
Method
_parse_anns
(self, results, anns, img)
mmdet/datasets/pipelines/instaboost.py:78
↓ 1 callers
Function
_poly2mask
(mask_ann, img_h, img_w)
tests/test_data/test_pipelines/test_transform/test_translate.py:90
↓ 1 callers
Method
_poly2mask
Private function to convert masks represented with polygon to bitmaps. Args: mask_ann (list | dict): Polygon mask annotat
mmdet/datasets/pipelines/loading.py:290
↓ 1 callers
Method
_polygon_area
Compute the area of a component of a polygon. Using the shoelace formula: https://stackoverflow.com/questions/24467972/calculate-area
mmdet/core/mask/structures.py:884
↓ 1 callers
Method
_preprocess
(self, img, gt_bboxes)
mmdet/models/detectors/yolox.py:105
↓ 1 callers
Function
_process_polygons
(polygons)
tests/test_data/test_pipelines/test_transform/test_translate.py:106
↓ 1 callers
Method
_proposal2json
Convert proposal results to COCO json style.
mmdet/datasets/coco.py:224
↓ 1 callers
Method
_proposal2json
Convert proposal results to COCO json style.
mmdet/datasets/ssgd.py:191
↓ 1 callers
Method
_rand_another
Get another random index from the same group as the given index.
mmdet/datasets/custom.py:199
↓ 1 callers
Method
_random_jitter
Ramdom jitter positive proposals for training.
mmdet/models/roi_heads/grid_roi_head.py:28
↓ 1 callers
Method
_random_resize
(self, device)
mmdet/models/detectors/yolox.py:119
↓ 1 callers
Function
_recalls
(all_ious, proposal_nums, thrs)
mmdet/core/evaluation/recall.py:11
← previous
next →
601–700 of 2,751, ranked by callers