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
Method
_get_warmup_lr
(cur_iters, regular_lr)
mmdet/core/hook/yolox_lrupdater_hook.py:29
Method
_init_layers
Initialize classification branch and regression branch of head.
mmdet/models/dense_heads/deformable_detr_head.py:50
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/reppoints_head.py:126
Method
_init_layers
(self)
mmdet/models/dense_heads/solov2_head.py:208
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/retina_head.py:61
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ga_retina_head.py:45
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/vfnet_head.py:191
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/retina_sepbn_head.py:36
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/yolact_head.py:89
Method
_init_layers
Init layers of a CascadeRPN stage.
mmdet/models/dense_heads/cascade_rpn_head.py:153
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/tood_head.py:142
Method
_init_layers
(self)
mmdet/models/dense_heads/fovea_head.py:81
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ga_rpn_head.py:34
Method
_init_layers
(self)
mmdet/models/dense_heads/yolof_head.py:68
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/atss_head.py:65
Method
_init_layers
Initialize layers for CentripetalHead. Including two parts: CornerHead layers and CentripetalHead layers
mmdet/models/dense_heads/centripetal_head.py:133
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/gfl_head.py:128
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/rpn_head.py:33
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/fcos_head.py:106
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ddod_head.py:63
Method
_init_layers
(self)
mmdet/models/dense_heads/solo_head.py:608
Method
_init_layers
(self)
mmdet/models/dense_heads/solo_head.py:1085
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/nasfcos_head.py:39
Method
_inner_forward
(x)
mmdet/models/backbones/resnest.py:236
Method
_inner_forward
(x)
mmdet/models/backbones/detectors_resnet.py:76
Method
_inner_forward
(x)
mmdet/models/backbones/res2net.py:109
Method
_inner_forward
(x)
mmdet/models/backbones/trident_resnet.py:130
Method
_inner_forward
(x)
mmdet/models/backbones/swin.py:360
Method
_inner_forward
(x)
mmdet/models/backbones/efficientnet.py:93
Method
_inner_forward
(x)
mmdet/models/backbones/resnet.py:70
Method
_inner_forward
(x)
mmdet/models/backbones/resnet.py:266
Method
_inner_forward
(x)
mmdet/models/utils/inverted_residual.py:107
Method
_load_from_state_dict
Override the method in the parent class to avoid changing para's name.
mmdet/models/dense_heads/vfnet_head.py:703
Method
_load_from_state_dict
Hack some keys of the model state dict so that can load checkpoints of previous version.
mmdet/models/dense_heads/anchor_free_head.py:159
Method
_load_from_state_dict
load checkpoints.
mmdet/models/dense_heads/detr_head.py:172
Method
_mask_forward_test
Mask head forward function for testing.
mmdet/models/roi_heads/htc_roi_head.py:176
Method
_mask_forward_train
Run forward function and calculate loss for mask head and point head in training.
mmdet/models/roi_heads/point_rend_roi_head.py:30
Method
_mask_forward_train
Run forward function and calculate loss for Mask head in training.
mmdet/models/roi_heads/mask_scoring_roi_head.py:21
Method
_order_vertices
References: https://stackoverflow.com/questions/1709283/how-can-i-sort-a-coordinate-list-for-a-rectangle-counterclockwise
mmdet/core/mask/structures.py:1014
Method
_parse_ann_info
Parse bbox and mask annotation. Args: img_info (dict): Image info of an image. ann_info (list[dict]): Annotation info
mmdet/datasets/cityscapes.py:57
Method
_point_target_single
(self, flat_proposals, valid_flags,
mmdet/models/dense_heads/reppoints_head.py:371
Method
_region_targets_single
Get anchor targets based on region for single level.
mmdet/models/dense_heads/cascade_rpn_head.py:180
Method
_run_test_method
(self, method)
tests/test_runtime/test_async.py:24
Method
_sample_neg
Sample negative boxes. Args: assign_result (:obj:`AssignResult`): Assigned results num_expected (int): Number of expe
mmdet/core/bbox/samplers/ohem_sampler.py:83
Method
_sample_neg
Sample negative samples.
mmdet/core/bbox/samplers/pseudo_sampler.py:20
Method
_sample_neg
Sample negative samples.
mmdet/core/bbox/samplers/combined_sampler.py:19
Method
_sample_neg
Sample negative boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py:89
Method
_sample_neg
Randomly sample some negative samples.
mmdet/core/bbox/samplers/random_sampler.py:74
Method
_sample_neg
Sample negative samples.
mmdet/core/bbox/samplers/mask_pseudo_sampler.py:23
Method
_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): Assigned results num_expected (int): Number of expe
mmdet/core/bbox/samplers/ohem_sampler.py:55
Method
_sample_pos
Sample positive samples.
mmdet/core/bbox/samplers/pseudo_sampler.py:16
Method
_sample_pos
Sample positive samples.
mmdet/core/bbox/samplers/combined_sampler.py:15
Method
_sample_pos
Randomly sample some positive samples.
mmdet/core/bbox/samplers/random_sampler.py:64
Method
_sample_pos
Sample positive samples.
mmdet/core/bbox/samplers/mask_pseudo_sampler.py:19
Method
_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdet/core/bbox/samplers/instance_balanced_pos_sampler.py:14
Method
_set_group_flag
Set flag according to image aspect ratio.
mmdet/datasets/openimages.py:352
Method
_shape_offset
(anchors, stride, ks=3, dilation=1)
mmdet/models/dense_heads/cascade_rpn_head.py:342
Method
_show_pan_result
Draw `panoptic result` over `img`. Args: img (str or Tensor): The image to be displayed. result (dict): The results.
mmdet/models/detectors/maskformer.py:185
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
mmdet/core/optimizers/layer_decay_optimizer_constructor.py:83
Method
after_run
(self, runner)
mmdet/core/hook/wandblogger_hook.py:278
Method
after_train_epoch
Change the dataset output image size.
mmdet/core/hook/sync_random_size_hook.py:52
Method
after_train_epoch
We load parameter values from ema backup to model before the EvalHook.
mmdet/core/hook/ema.py:84
Method
after_train_epoch
(self, runner)
mmdet/core/hook/wandblogger_hook.py:205
Method
after_train_epoch
Synchronizing norm.
mmdet/core/hook/sync_norm_hook.py:40
Method
after_train_iter
(self, runner)
mmdet/core/hook/checkloss_hook.py:21
Method
after_train_iter
Update ema parameter every self.interval iterations.
mmdet/core/hook/ema.py:71
Method
after_train_iter
(self, runner)
mmdet/core/hook/wandblogger_hook.py:238
Function
allreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
mmdet/core/utils/dist_utils.py:37
Function
analyze_individual_category
(k, cocoDt, cocoGt,
tools/analysis_tools/coco_error_analysis.py:174
Method
anchor_generator
(self)
mmdet/models/dense_heads/vfnet_head.py:186
Method
anchor_generator
(self)
mmdet/models/dense_heads/yolo_head.py:125
Method
anchor_generator
(self)
mmdet/models/dense_heads/anchor_head.py:122
Method
areas
ndarray: areas of each instance.
mmdet/core/mask/structures.py:109
Method
areas
See :py:attr:`BaseInstanceMasks.areas`.
mmdet/core/mask/structures.py:499
Method
areas
Compute areas of masks. This func is modified from `detectron2 <https://github.com/facebookresearch/detectron2/blob/ffff8acc35ea88ad1
mmdet/core/mask/structures.py:866
Method
assign
Computes one-to-one matching based on the weighted costs. Args: cls_pred (Tensor | None): Class prediction in shape
mmdet/core/bbox/assigners/mask_hungarian_assigner.py:46
Method
assign
(self, bbox_pred, anchor, gt_bboxes, gt_bboxes_ign
mmdet/core/bbox/assigners/uniform_assigner.py:35
Method
assign
Assign gt to approxs. This method assign a gt bbox to each group of approxs (bboxes), each group of approxs is represent by a base ap
mmdet/core/bbox/assigners/approx_max_iou_assigner.py:60
Method
assign
Assign gt to bboxes. This method assigns gts to every bbox (proposal/anchor), each bbox \ will be assigned with -1, or a semi-positiv
mmdet/core/bbox/assigners/center_region_assigner.py:126
Method
assign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. T
mmdet/core/bbox/assigners/hungarian_assigner.py:53
Method
assign
Assign gt to bboxes. The process is very much like the max iou assigner, except that positive samples are constrained within the cell
mmdet/core/bbox/assigners/grid_assigner.py:43
Method
assign
Assign gt to bboxes. The assignment is done in following steps 1. compute alignment metric between all bbox (bbox of all pyramid
mmdet/core/bbox/assigners/task_aligned_assigner.py:36
Method
assign
Assign gt to points. This method assign a gt bbox to every points set, each points set will be assigned with the background_label (-
mmdet/core/bbox/assigners/point_assigner.py:24
Method
assign
Assign boxes to either a ground truth boxes or a negative boxes.
mmdet/core/bbox/assigners/base_assigner.py:9
Method
assign
Assign gt to anchors. This method assign a gt bbox to every bbox (proposal/anchor), each bbox will be assigned with -1, 0, or a posit
mmdet/core/bbox/assigners/region_assigner.py:58
Method
assign
Assign gt to priors using SimOTA. It will switch to CPU mode when GPU is out of memory. Args: pred_scores (Tensor): Classi
mmdet/core/bbox/assigners/sim_ota_assigner.py:38
Method
async_simple_test
(self, img, img_metas, **kwargs)
mmdet/core/export/model_wrappers.py:41
Method
async_simple_test
Async test without augmentation.
mmdet/models/roi_heads/standard_roi_head.py:198
Method
async_simple_test
Asynchronized test function.
mmdet/models/roi_heads/base_roi_head.py:79
Method
async_simple_test
Async test without augmentation.
mmdet/models/detectors/two_stage.py:155
Method
aug_test
(self, imgs, img_metas, **kwargs)
mmdet/core/export/model_wrappers.py:23
Method
aug_test
Test function with test time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augment
mmdet/models/dense_heads/yolo_head.py:494
Method
aug_test
Test function with test time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augment
mmdet/models/dense_heads/anchor_head.py:522
Method
aug_test
Test function with test time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augment
mmdet/models/dense_heads/anchor_free_head.py:334
Method
aug_test
(self, features, proposal_list, img_metas, rescale=False)
mmdet/models/roi_heads/sparse_roi_head.py:400
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/standard_roi_head.py:269
Method
aug_test
(self, img_feats, proposal_list, img_metas, rescale=False)
mmdet/models/roi_heads/scnet_roi_head.py:487
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/base_roi_head.py:98
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/htc_roi_head.py:505
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/cascade_roi_head.py:458
← previous
next →
1,701–1,800 of 2,751, ranked by callers