MCPcopy Create free account

hub / github.com/VincentHancoder/SSGD / functions

Functions2,751 in github.com/VincentHancoder/SSGD

Methodaug_test
Augment testing of CenterNet. Aug test must have flipped image pair, and unlike CornerNet, it will perform an averaging operation on the
mmdet/models/detectors/centernet.py:54
Methodaug_test
(self, imgs, img_metas, **kwargs)
mmdet/models/detectors/maskformer.py:179
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/detectors/two_stage.py:186
Methodaug_test
Test with augmentations.
mmdet/models/detectors/yolact.py:117
Methodaug_test
(self, imgs, img_metas, rescale=False)
mmdet/models/detectors/single_stage_instance_seg.py:252
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/detectors/trident_faster_rcnn.py:49
Methodaug_test
Augment testing of CornerNet. Args: imgs (list[Tensor]): Augmented images. img_metas (list[list[dict]]): Meta informa
mmdet/models/detectors/cornernet.py:62
Methodaug_test
Test function with test time augmentation. Args: imgs (list[Tensor]): the outer list indicates test-time augmenta
mmdet/models/detectors/single_stage.py:110
Methodaug_test_bboxes
Test det bboxes with test time augmentation.
mmdet/models/roi_heads/trident_roi_head.py:83
Methodaug_test_mask
Test for mask head with test time augmentation.
mmdet/models/roi_heads/point_rend_roi_head.py:217
Methodaug_test_rpn
(self, feats, img_metas)
mmdet/models/dense_heads/embedding_rpn_head.py:114
Methodaug_test_rpn
Test with augmentation for only for ``RPNHead`` and its variants, e.g., ``GARPNHead``, etc. Args: feats (tuple[Tensor]):
mmdet/models/dense_heads/dense_test_mixins.py:133
Methodavg_iou_cost
(anchor_params, bboxes)
optimize_anchors.py:308
Methodavg_iou_cost
(anchor_params, bboxes)
tools/analysis_tools/optimize_anchors.py:308
Functionbbox_map_eval
Evaluate mAP of single image det result. Args: det_result (list[list]): [[cls1_det, cls2_det, ...], ...]. The outer list indi
tools/analysis_tools/analyze_results.py:17
Methodbboxes
torch.Tensor: concatenated positive and negative boxes
mmdet/core/bbox/samplers/sampling_result.py:53
Methodbefore_run
To resume model with it's ema parameters more friendly. Register ema parameter as ``named_buffer`` to model.
mmdet/core/hook/ema.py:45
Methodbefore_run
(self, runner)
mmdet/core/hook/wandblogger_hook.py:134
Methodbefore_train_epoch
We recover model's parameter from ema backup after last epoch's EvalHook.
mmdet/core/hook/ema.py:89
Methodbefore_train_epoch
(self, runner)
mmdet/core/hook/sync_norm_hook.py:34
Methodbefore_train_epoch
(self, runner)
mmdet/core/hook/set_epoch_info_hook.py:10
Methodbefore_train_epoch
Close mosaic and mixup augmentation and switches to use L1 loss.
mmdet/core/hook/yolox_mode_switch_hook.py:28
Methodbefore_train_epoch
Evaluate the model only at the start of training by epoch.
mmdet/core/evaluation/eval_hooks.py:91
Methodbefore_train_iter
(self, runner)
mmdet/core/evaluation/eval_hooks.py:96
Functionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1) or (N, ). When the shape
mmdet/models/losses/cross_entropy_loss.py:85
Methodbuild_concat_cell
(with_input1_conv, with_input2_conv)
mmdet/models/necks/nasfcos_fpn.py:84
Functionbuilder_inited_handler
(app)
docs/zh_cn/conf.py:113
Functionbuilder_inited_handler
(app)
docs/en/conf.py:111
Functioncal_train_time
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:11
Functioncityscapes_classes
()
mmdet/core/evaluation/class_names.py:86
Functioncoco_classes
()
mmdet/core/evaluation/class_names.py:68
Methodcollect_loss_level_single
Get the average loss in each FPN level w.r.t. each gt label. Args: cls_loss (Tensor): Classification loss of each feature map pix
mmdet/models/dense_heads/fsaf_head.py:351
Functioncolor_val_matplotlib
Convert various input in BGR order to normalized RGB matplotlib color tuples. Args: color (:obj`Color` | str | tuple | int | ndarray)
mmdet/core/visualization/image.py:23
Methodcrop
Crop each mask by the given bbox. Args: bbox (ndarray): Bbox in format [x1, y1, x2, y2], shape (4, ). Return:
mmdet/core/mask/structures.py:64
Methodcrop_and_resize
Crop and resize masks by the given bboxes. This function is mainly used in mask targets computation. It firstly align mask to bboxes
mmdet/core/mask/structures.py:75
Methodcuda
Since teacher_model is registered as a plain object, it is necessary to put the teacher model to cuda when calling cuda function.
mmdet/models/detectors/kd_one_stage.py:78
Methodcustom_accuracy
(self)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:105
Methodcustom_accuracy
(self)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:218
Methodcustom_activation
(self)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:101
Methodcustom_activation
(self)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:214
Methodcustom_cls_channels
(self)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:97
Methodcustom_cls_channels
(self)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:210
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): E
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:59
Methoddecode
torch.Tensor: return the given ``pred_bboxes``
mmdet/core/bbox/coder/pseudo_bbox_coder.py:17
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): Pr
mmdet/core/bbox/coder/bucketing_bbox_coder.py:72
Methodempty_results
Generate a empty results.
mmdet/models/dense_heads/solov2_head.py:658
Methodempty_results
Generate a empty results.
mmdet/models/dense_heads/solo_head.py:496
Methodempty_results
Generate a empty results.
mmdet/models/dense_heads/solo_head.py:951
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:41
Methodencode
torch.Tensor: return the given ``bboxes``
mmdet/core/bbox/coder/pseudo_bbox_coder.py:13
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/core/bbox/coder/yolo_bbox_coder.py:27
Methodencode
Get bucketing estimation and fine regression targets during training. Args: bboxes (torch.Tensor): source boxes, e.g., ob
mmdet/core/bbox/coder/bucketing_bbox_coder.py:50
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:47
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes`` in the (top, left, bottom
mmdet/core/bbox/coder/tblr_bbox_coder.py:31
Methodevaluate
Evaluation in LVIS protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdet/datasets/lvis.py:311
Methodevaluate
Evaluate the results. Args: results (list[list | tuple]): Testing results of the dataset. logger (logging.Logger | st
mmdet/datasets/dataset_wrappers.py:94
Methodevaluate
Evaluation in Cityscapes/COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (s
mmdet/datasets/cityscapes.py:211
Methodevaluate
(self, results, logger=None)
tests/test_runtime/test_eval_hook.py:32
Methodexpand
see :class:`Expand`.
mmdet/core/mask/structures.py:104
Methodextra_repr
(self)
mmdet/models/backbones/trident_resnet.py:61
Methodextra_repr
(self)
mmdet/models/plugins/dropblock.py:83
Methodextra_repr
Extra repr.
mmdet/models/losses/cross_entropy_loss.py:252
Methodextract_feat
(self, imgs)
mmdet/core/export/model_wrappers.py:26
Methodfit
(self, loss)
tests/test_models/test_dense_heads/test_paa_head.py:18
Methodflip
Flip masks alone the given direction. Args: flip_direction (str): Either 'horizontal' or 'vertical'. Returns:
mmdet/core/mask/structures.py:41
Methodformat_results
Place holder to format result to dataset specific output.
mmdet/datasets/custom.py:307
Methodforward
(ctx, boxes, scores, max_output_boxes_per_class, iou_threshold, score_threshold)
mmdet/core/export/onnx_helper.py:208
Methodforward
(self, img, img_metas, return_loss=True, **kwargs)
mmdet/core/export/model_wrappers.py:44
Methodforward
(self, x)
mmdet/models/seg_heads/panoptic_fpn_head.py:142
Methodforward
(self, x)
mmdet/models/necks/yolo_neck.py:55
Methodforward
(self, feats)
mmdet/models/necks/yolo_neck.py:120
Methodforward
Forward function.
mmdet/models/necks/ssd_neck.py:93
Methodforward
Forward function.
mmdet/models/necks/ssd_neck.py:123
Methodforward
Forward function.
mmdet/models/necks/pafpn.py:100
Methodforward
Forward function.
mmdet/models/necks/dyhead.py:45
Methodforward
Forward function.
mmdet/models/necks/dyhead.py:98
Methodforward
Forward function.
mmdet/models/necks/dyhead.py:170
Methodforward
Forward function.
mmdet/models/necks/fpn.py:152
Methodforward
(self, x)
mmdet/models/necks/rfp.py:48
Methodforward
(self, inputs)
mmdet/models/necks/rfp.py:117
Methodforward
Forward function.
mmdet/models/necks/hrfpn.py:77
Methodforward
(x)
mmdet/models/necks/fpg.py:23
Methodforward
(self, x)
mmdet/models/necks/fpg.py:63
Methodforward
(self, inputs)
mmdet/models/necks/fpg.py:99
Methodforward
(self, inputs)
mmdet/models/necks/fpg.py:333
Methodforward
Forward function.
mmdet/models/necks/channel_mapper.py:90
Methodforward
(self, inputs)
mmdet/models/necks/ct_resnet_neck.py:91
Methodforward
(self, x)
mmdet/models/necks/dilated_encoder.py:42
Methodforward
(self, feature)
mmdet/models/necks/dilated_encoder.py:106
Methodforward
Forward function.
mmdet/models/necks/nasfcos_fpn.py:123
Methodforward
Args: inputs (tuple[Tensor]): input features. Returns: tuple[Tensor]: YOLOXPAFPN features.
mmdet/models/necks/yolox_pafpn.py:117
Methodforward
Forward function.
mmdet/models/necks/fpn_carafe.py:247
Methodforward
Forward function.
mmdet/models/necks/bfp.py:70
Methodforward
Forward function.
mmdet/models/necks/nas_fpn.py:127
Methodforward
(self, x)
mmdet/models/backbones/resnest.py:30
Methodforward
(self, x)
mmdet/models/backbones/resnest.py:125
Methodforward
(self, x)
mmdet/models/backbones/resnest.py:234
Methodforward
Forward function.
mmdet/models/backbones/detectors_resnet.py:329
Methodforward
Forward function.
mmdet/models/backbones/ssd_vgg.py:108
Methodforward
(self, x)
mmdet/models/backbones/darknet.py:50
← previousnext →1,801–1,900 of 2,751, ranked by callers