MCPcopy Create free account

hub / github.com/VincentHancoder/SSGD / functions

Functions2,751 in github.com/VincentHancoder/SSGD

Methodload_annotations
Load annotation from COCO Panoptic style annotation file. Args: ann_file (str): Path of annotation file. Returns:
mmdet/datasets/coco_panoptic.py:284
Methodload_annotations
Load annotation from COCO style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdet/datasets/ssgd.py:29
Methodload_annotations
Load annotation from annotation file. Special described `self.data_infos` (defaultdict[list[dict]]) in this function: Annotations whe
mmdet/datasets/openimages.py:150
Methodload_annotations
Load annotation from annotation file.
mmdet/datasets/openimages.py:765
Methodload_anns
(self, ids)
mmdet/datasets/api_wrappers/coco_api.py:36
Methodload_image_label_from_csv
Load image level annotations from csv style ann_file. Args: image_level_ann_file (str): CSV style image level annotation
mmdet/datasets/openimages.py:857
Functionload_img_info
(files)
tools/dataset_converters/cityscapes.py:40
Methodloss
The loss of PanopticFPN head. Things classes will be merged to one class in PanopticFPN.
mmdet/models/seg_heads/panoptic_fpn_head.py:129
Methodloss
Loss function. Args: all_cls_scores (Tensor): Classification score of all decoder layers, has shape
mmdet/models/dense_heads/deformable_detr_head.py:184
Methodloss
(self, cls_scores, pts_preds_init, pts_preds_refine, gt_bb
mmdet/models/dense_heads/reppoints_head.py:563
Methodloss
Calculate the loss of total batch. Args: mlvl_kernel_preds (list[Tensor]): Multi-level dynamic kernel prediction.
mmdet/models/dense_heads/solov2_head.py:445
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdet/models/dense_heads/autoassign_head.py:307
Methodloss
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/pisa_ssd_head.py:14
Methodloss
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/paa_head.py:87
Methodloss
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/ssd_head.py:279
Methodloss
Compute losses of the head. Args: center_heatmap_preds (list[Tensor]): center predict heatmaps for all levels with
mmdet/models/dense_heads/centernet_head.py:116
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box iou-aware scores for each scale level, each is a 4
mmdet/models/dense_heads/vfnet_head.py:351
Methodloss
Compute loss of the head. Args: pred_maps (list[Tensor]): Prediction map for each scale level, shape (N, num_anch
mmdet/models/dense_heads/yolo_head.py:301
Methodloss
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/anchor_head.py:453
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdet/models/dense_heads/anchor_free_head.py:240
Methodloss
Compute losses of the head. Args: anchor_list (list[list]): Multi level anchors of each image. cls_scores (list[Tenso
mmdet/models/dense_heads/cascade_rpn_head.py:436
Methodloss
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/tood_head.py:383
Methodloss
(self, cls_scores, bbox_preds, gt_bbox_list, gt_label_list
mmdet/models/dense_heads/fovea_head.py:134
Methodloss
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/free_anchor_retina_head.py:54
Methodloss
(self, cls_scores, bbox_preds, shape_preds, loc_preds,
mmdet/models/dense_heads/ga_rpn_head.py:49
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (batch, nu
mmdet/models/dense_heads/yolof_head.py:137
Methodloss
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/atss_head.py:230
Methodloss
Compute losses of the head. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each level with shape (N,
mmdet/models/dense_heads/centripetal_head.py:208
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Cls and quality scores for each scale level has shap
mmdet/models/dense_heads/gfl_head.py:307
Methodloss
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/rpn_head.py:70
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor, t
mmdet/models/dense_heads/yolox_head.py:328
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdet/models/dense_heads/fcos_head.py:168
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_ba
mmdet/models/dense_heads/ddod_head.py:295
Methodloss
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/pisa_retinanet_head.py:23
Methodloss
Calculate the loss of total batch. Args: mlvl_mask_preds (list[Tensor]): Multi-level mask prediction. Each elemen
mmdet/models/dense_heads/solo_head.py:200
Methodloss
Calculate the loss of total batch. Args: mlvl_mask_preds_x (list[Tensor]): Multi-level mask prediction from x bra
mmdet/models/dense_heads/solo_head.py:713
Methodloss
Compute losses of the head. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each level with shape (N,
mmdet/models/dense_heads/corner_head.py:514
Methodloss
Calculate loss for MaskPointHead. Args: point_pred (Tensor): Point predication result, shape (num_rois, num_class
mmdet/models/roi_heads/mask_heads/mask_point_head.py:167
Methodloss
Example: >>> from mmdet.models.roi_heads.mask_heads.fcn_mask_head import * # NOQA >>> N = 7 # N = number of extract
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:148
Methodloss
(self, grid_pred, grid_targets)
mmdet/models/roi_heads/mask_heads/grid_head.py:292
Methodloss
Loss function.
mmdet/models/roi_heads/mask_heads/global_context_head.py:94
Methodloss
(self, mask_pred, labels)
mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:115
Methodloss
(self, cls_score, bbox_pred, rois, labels, la
mmdet/models/roi_heads/bbox_heads/bbox_head.py:257
Methodloss
(self, cls_score, bbox_pred, rois, labels, la
mmdet/models/roi_heads/bbox_heads/sabl_head.py:440
Methodloss_cls_single
Compute cls loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N,
mmdet/models/dense_heads/ddod_head.py:171
Methodloss_reg_single
Compute reg loss of a single scale level. Args: anchors (Tensor): Box reference for each scale level with shape (
mmdet/models/dense_heads/ddod_head.py:198
Methodloss_single
(self, cls_score, pts_pred_init, pts_pred_refine, labels, label_weights, bbox_gt_init, bbo
mmdet/models/dense_heads/reppoints_head.py:525
Methodloss_single
Compute loss of a single image. Args: cls_score (Tensor): Box scores for eachimage Has shape (num_total_anchors,
mmdet/models/dense_heads/ssd_head.py:220
Methodloss_single
Compute loss of a single image from a batch. Args: pred_map (Tensor): Raw predictions for a single level. target_map
mmdet/models/dense_heads/yolo_head.py:352
Methodloss_single
Compute loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N, num
mmdet/models/dense_heads/anchor_head.py:402
Methodloss_single
Loss function for outputs from a single decoder layer. Args: cls_scores (Tensor): Mask score logits from a single decoder layer
mmdet/models/dense_heads/mask2former_head.py:218
Methodloss_single
Loss function on single scale.
mmdet/models/dense_heads/cascade_rpn_head.py:406
Methodloss_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/tood_head.py:310
Methodloss_single
Loss function for outputs from a single decoder layer. Args: cls_scores (Tensor): Mask score logits from a single decoder layer
mmdet/models/dense_heads/maskformer_head.py:322
Methodloss_single
Compute loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N, num
mmdet/models/dense_heads/atss_head.py:156
Methodloss_single
Compute losses for single level. Args: tl_hmp (Tensor): Top-left corner heatmap for current level with shape (N,
mmdet/models/dense_heads/centripetal_head.py:284
Methodloss_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/gfl_head.py:218
Methodloss_single
(self, cls_score, bbox_pred, labels, label_weights, bbox_cls_targets, bbox_cls_weights, bb
mmdet/models/dense_heads/sabl_retina_head.py:448
Methodloss_single
Compute losses for single level. Args: tl_hmp (Tensor): Top-left corner heatmap for current level with shape (N,
mmdet/models/dense_heads/corner_head.py:576
Methodloss_single
Loss function for outputs from a single decoder layer of a single feature level. Args: cls_scores (Tensor): Box score log
mmdet/models/dense_heads/detr_head.py:334
Methodloss_single_OHEM
See func:``SSDHead.loss``.
mmdet/models/dense_heads/yolact_head.py:261
Functionmake_cuda_ext
(name, module, sources, sources_cuda=[])
setup.py:31
Methodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``.
mmdet/models/backbones/resnest.py:313
Methodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``
mmdet/models/backbones/resnext.py:148
Methodmake_res_layer
(self, **kwargs)
mmdet/models/backbones/res2net.py:322
Methodmake_res_layer
(self, **kwargs)
mmdet/models/backbones/detectors_resnext.py:118
Functionmask_cross_entropy
Calculate the CrossEntropy loss for masks. Args: pred (torch.Tensor): The prediction with shape (N, C, *), C is the number of
mmdet/models/losses/cross_entropy_loss.py:148
Methodmask_onnx_export
Export mask branch to onnx which supports batch inference. Args: x (tuple[Tensor]): Feature maps of all scale level.
mmdet/models/roi_heads/point_rend_roi_head.py:351
Functionmask_target_single
Compute mask target for each positive proposal in the image. Args: pos_proposals (Tensor): Positive proposals. pos_assigned_gt_in
mmdet/core/mask/mask_target.py:67
Methodmasks
torch.Tensor: concatenated positive and negative boxes
mmdet/core/bbox/samplers/mask_sampling_result.py:37
Functionmerge_aug_scores
Merge augmented bbox scores.
mmdet/core/post_processing/merge_augs.py:113
Functionmulti_wrapper
(args)
tools/misc/split_coco.py:100
Methodnormalize
(x)
mmdet/models/dense_heads/autoassign_head.py:288
Methodnum_anchors
(self)
mmdet/models/dense_heads/guided_anchor_head.py:212
Methodnum_anchors
Returns: list[int]: Number of base_anchors on each point of each level.
mmdet/models/dense_heads/ssd_head.py:116
Methodnum_anchors
Returns: int: Number of anchors on each point of feature map.
mmdet/models/dense_heads/vfnet_head.py:176
Methodnum_anchors
Returns: int: Number of anchors on each point of feature map.
mmdet/models/dense_heads/yolo_head.py:132
Methodnum_anchors
(self)
mmdet/models/dense_heads/anchor_head.py:115
Methodnum_anchors
(self)
mmdet/models/dense_heads/sabl_retina_head.py:158
Methodnum_attrib
int: number of attributes in pred_map, bboxes (4) + objectness (1) + num_classes
mmdet/models/dense_heads/yolo_head.py:146
Methodnum_base_anchors
list[int]: total number of base anchors in a feature grid
mmdet/core/anchor/anchor_generator.py:116
Methodnum_base_priors
list[int]: The number of priors (points) at a point on the feature grid
mmdet/core/anchor/point_generator.py:65
Methodnum_base_priors
list[int]: The number of priors (anchors) at a point on the feature grid
mmdet/core/anchor/anchor_generator.py:121
Methodnum_inputs
int: Number of input feature maps.
mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:33
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdet/core/anchor/point_generator.py:60
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdet/core/anchor/anchor_generator.py:127
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdet/core/anchor/anchor_generator.py:757
Methodnum_levels
(self)
mmdet/models/dense_heads/yolo_head.py:142
Methodnum_preds
int: the number of predictions in this assignment
mmdet/core/bbox/assigners/assign_result.py:52
Functionoid_challenge_classes
()
mmdet/core/evaluation/class_names.py:93
Functionoid_v6_classes
()
mmdet/core/evaluation/class_names.py:188
Methodonnx_export
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdet/models/dense_heads/base_dense_head.py:363
Methodonnx_export
(self, pred_maps, img_metas, with_nms=True)
mmdet/models/dense_heads/yolo_head.py:513
Methodonnx_export
(self, img, img_metas)
mmdet/models/dense_heads/base_mask_head.py:114
Methodonnx_export
Test without augmentation. Args: x (tuple[Tensor]): Features from the upstream network, each is a 4D-tensor.
mmdet/models/dense_heads/rpn_head.py:237
Methodonnx_export
Transform network output for a batch into bbox predictions. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each leve
mmdet/models/dense_heads/corner_head.py:1031
Methodonnx_export
Transform network outputs into bbox predictions, with ONNX exportation. Args: all_cls_scores_list (list[Tensor]): Classif
mmdet/models/dense_heads/detr_head.py:775
Methodonnx_export
(self, x, proposals, img_metas)
mmdet/models/roi_heads/cascade_roi_head.py:561
Methodonnx_export
Get segmentation masks from mask_pred and bboxes. Args: mask_pred (Tensor): shape (n, #class, h, w). det_bboxes (Tens
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:312
Methodonnx_export
(self, img, img_metas)
mmdet/models/detectors/maskformer.py:182
← previousnext →2,201–2,300 of 2,751, ranked by callers