Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FenHua/DetDak
/ functions
Functions
1,414 in github.com/FenHua/DetDak
⨍
Functions
1,414
◇
Types & classes
240
Method
_init_layers
Initialize layers of the head.
mmdetection/mmdet/models/dense_heads/nasfcos_head.py:20
Method
_inner_forward
(x)
mmdetection/mmdet/models/backbones/detectors_resnet.py:69
Method
_inner_forward
(x)
mmdetection/mmdet/models/backbones/res2net.py:107
Method
_inner_forward
(x)
mmdetection/mmdet/models/backbones/resnet.py:68
Method
_inner_forward
(x)
mmdetection/mmdet/models/backbones/resnet.py:263
Method
_load_from_state_dict
Hack some keys of the model state dict so that can load checkpoints of previous version.
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:150
Method
_mask_forward_test
Mask head forward function for testing.
mmdetection/mmdet/models/roi_heads/htc_roi_head.py:184
Method
_mask_forward_train
Run forward function and calculate loss for mask head and point head in training.
mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py:35
Method
_mask_forward_train
Run forward function and calculate loss for Mask head in training.
mmdetection/mmdet/models/roi_heads/mask_scoring_roi_head.py:30
Method
_parse_ann_info
Parse bbox and mask annotation. Args: img_info (dict): Image info of an image. ann_info (list[dict]): Annotation info
mmdetection/mmdet/datasets/cityscapes.py:40
Method
_point_target_single
(self, flat_proposals, valid_flags,
mmdetection/mmdet/models/dense_heads/reppoints_head.py:374
Method
_run_test_method
(self, method)
mmdetection/tests/test_async.py:23
Method
_sample_neg
Sample negative boxes. Args: assign_result (:obj:`AssignResult`): Assigned results num_expected (int): Number of expe
mmdetection/mmdet/core/bbox/samplers/ohem_sampler.py:78
Method
_sample_neg
Sample negative samples.
mmdetection/mmdet/core/bbox/samplers/pseudo_sampler.py:19
Method
_sample_neg
Sample negative samples.
mmdetection/mmdet/core/bbox/samplers/combined_sampler.py:18
Method
_sample_neg
Sample negative boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdetection/mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py:88
Method
_sample_neg
Randomly sample some negative samples.
mmdetection/mmdet/core/bbox/samplers/random_sampler.py:67
Method
_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): Assigned results num_expected (int): Number of expe
mmdetection/mmdet/core/bbox/samplers/ohem_sampler.py:50
Method
_sample_pos
Sample positive samples.
mmdetection/mmdet/core/bbox/samplers/pseudo_sampler.py:15
Method
_sample_pos
Sample positive samples.
mmdetection/mmdet/core/bbox/samplers/combined_sampler.py:14
Method
_sample_pos
Randomly sample some positive samples.
mmdetection/mmdet/core/bbox/samplers/random_sampler.py:57
Method
_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdetection/mmdet/core/bbox/samplers/instance_balanced_pos_sampler.py:13
Function
ada_attack
(model, img, max_iter, epsilon, mask)
attack_utils/attackloss_rcnn.py:127
Function
ada_attack
(model, img, max_iter, epsilon, mask)
attack_utils/attackloss_efdet.py:94
Method
after_train_epoch
(self, runner)
mmdetection/mmdet/core/evaluation/eval_hooks.py:23
Method
after_train_epoch
(self, runner)
mmdetection/mmdet/core/evaluation/eval_hooks.py:63
Method
after_train_iter
Backward optimization steps for Mixed Precision Training. 1. Scale the loss by a scale factor. 2. Backward the loss to obtain the gra
mmdetection/mmdet/core/fp16/hooks.py:64
Function
analyze_individual_category
(k, cocoDt, cocoGt, catId, iou_type)
mmdetection/tools/coco_error_analysis.py:52
Method
areas
ndarray: areas of each instance.
mmdetection/mmdet/core/mask/structures.py:109
Method
areas
See :py:attr:`BaseInstanceMasks.areas`.
mmdetection/mmdet/core/mask/structures.py:301
Method
areas
Compute areas of masks. This func is modified from `detectron2 <https://github.com/facebookresearch/detectron2/blob/ffff8acc35ea88ad1
mmdetection/mmdet/core/mask/structures.py:507
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
mmdetection/mmdet/core/bbox/assigners/approx_max_iou_assigner.py:59
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
mmdetection/mmdet/core/bbox/assigners/center_region_assigner.py:125
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 (-
mmdetection/mmdet/core/bbox/assigners/point_assigner.py:23
Method
assign
Assign boxes to either a ground truth boxe or a negative boxes.
mmdetection/mmdet/core/bbox/assigners/base_assigner.py:8
Method
async_simple_test
Async test without augmentation.
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:218
Method
async_simple_test
Asynchronized test function.
mmdetection/mmdet/models/roi_heads/base_roi_head.py:86
Method
async_simple_test
Async test without augmentation.
mmdetection/mmdet/models/detectors/two_stage.py:169
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:265
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdetection/mmdet/models/roi_heads/base_roi_head.py:100
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdetection/mmdet/models/roi_heads/htc_roi_head.py:422
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:360
Method
aug_test
Test function with test time augmentation. Args: imgs (list[Tensor]): the outer list indicates test-time augmenta
mmdetection/mmdet/models/detectors/reppoints_detector.py:54
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdetection/mmdet/models/detectors/two_stage.py:201
Method
aug_test
Test function with test time augmentation. Args: imgs (list[torch.Tensor]): List of multiple images img_metas (list[d
mmdetection/mmdet/models/detectors/rpn.py:115
Method
aug_test
Test function with test time augmentation.
mmdetection/mmdet/models/detectors/single_stage.py:118
Method
aug_test_mask
Test for mask head with test time augmentation.
mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py:162
Function
auto_fp16
Decorator to enable fp16 training automatically. This decorator is useful when you write custom modules and want to support mixed precision t
mmdetection/mmdet/core/fp16/decorators.py:9
Function
auto_fp16_wrapper
(old_func)
mmdetection/mmdet/core/fp16/decorators.py:41
Method
bboxes
torch.Tensor: concatenated positive and negative boxes
mmdetection/mmdet/core/bbox/samplers/sampling_result.py:52
Function
bboxes_iou
Calculate the Intersection of Unions (IoUs) between bounding boxes. IoU is calculated as a ratio of area of the intersection and area of the u
util_copy/utils_coco.py:123
Method
before_run
Preparing steps before Mixed Precision Training. 1. Make a master copy of fp32 weights for optimization. 2. Convert the main model fr
mmdetection/mmdet/core/fp16/hooks.py:39
Function
binary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
mmdetection/mmdet/models/losses/cross_entropy_loss.py:58
Method
build_concat_cell
(with_input1_conv, with_input2_conv)
mmdetection/mmdet/models/necks/nasfcos_fpn.py:76
Function
cal_train_time
(log_dicts, args)
mmdetection/tools/analyze_logs.py:10
Function
cityscapes_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:85
Function
coco_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:67
Function
collater
(data)
efficientdet/dataset.py:86
Method
collect_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
mmdetection/mmdet/models/dense_heads/fsaf_head.py:336
Function
count_parameters
(model)
efficientdet/model.py:464
Method
crop
Crop each mask by the given bbox. Args: bbox (ndarray): Bbox in format [x1, y1, x2, y2], shape (4, ). Return:
mmdetection/mmdet/core/mask/structures.py:66
Method
crop_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
mmdetection/mmdet/core/mask/structures.py:78
Function
cross_entropy
Calculate the CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, C), C is the number of classes.
mmdetection/mmdet/models/losses/cross_entropy_loss.py:9
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): E
mmdetection/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:57
Method
decode
torch.Tensor: return the given ``pred_bboxes``
mmdetection/mmdet/core/bbox/coder/pseudo_bbox_coder.py:16
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): E
mmdetection/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:48
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): E
mmdetection/mmdet/core/bbox/coder/tblr_bbox_coder.py:45
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdetection/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:39
Method
encode
torch.Tensor: return the given ``bboxes``
mmdetection/mmdet/core/bbox/coder/pseudo_bbox_coder.py:12
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdetection/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:30
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes`` in the (top, left, bottom
mmdetection/mmdet/core/bbox/coder/tblr_bbox_coder.py:26
Method
encode
Encodes a list of BlockArgs to a list of strings. :param blocks_args: a list of BlockArgs namedtuples of block args :return:
efficientnet/utils.py:218
Method
evaluate
Evaluate the dataset. Args: results (list): Testing results of the dataset. metric (str | list[str]): Metrics to be e
mmdetection/mmdet/datasets/custom.py:263
Method
evaluate
Evaluation in LVIS protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdetection/mmdet/datasets/lvis.py:301
Method
evaluate
Evaluation in Cityscapes/COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (s
mmdetection/mmdet/datasets/cityscapes.py:194
Method
expand
see :class:`Expand`.
mmdetection/mmdet/core/mask/structures.py:103
Function
filter
(NOISE)
attack_utils/attackloss_efdet.py:34
Method
flip
Flip masks alone the given direction. Args: flip_direction (str): Either 'horizontal' or 'vertical'. Returns:
mmdetection/mmdet/core/mask/structures.py:41
Function
force_fp32
Decorator to convert input arguments to fp32 in force. This decorator is useful when you write custom modules and want to support mixed preci
mmdetection/mmdet/core/fp16/decorators.py:88
Function
force_fp32_wrapper
(old_func)
mmdetection/mmdet/core/fp16/decorators.py:121
Method
format_results
Place holder to format result to dataset specific output.
mmdetection/mmdet/datasets/custom.py:259
Method
forward
(self, output, target=None)
util_copy/yolo_layer.py:126
Method
forward
(self, output, target)
util_copy/region_loss.py:122
Method
forward
(self, classifications, regressions, anchors, annotations, **kwargs)
efficientdet/loss.py:31
Method
forward
decode_box_outputs adapted from https://github.com/google/automl/blob/master/efficientdet/anchors.py Args: anchors: [bat
efficientdet/utils.py:8
Method
forward
(self, boxes, img)
efficientdet/utils.py:43
Method
forward
Generates multiscale anchor boxes. Args: image_size: integer number of input image size. The input image has the same d
efficientdet/utils.py:76
Method
forward
(self, inputs)
efficientdet/backbone.py:67
Method
forward
(self, x)
efficientdet/model.py:42
Method
forward
illustration of a minimal bifpn unit P7_0 -------------------------> P7_2 --------> |-------------|
efficientdet/model.py:163
Method
forward
(self, inputs)
efficientdet/model.py:361
Method
forward
(self, inputs)
efficientdet/model.py:398
Method
forward
(self, x)
efficientdet/model.py:435
Method
forward
Forward function.
mmdetection/mmdet/models/necks/pafpn.py:84
Method
forward
Forward function.
mmdetection/mmdet/models/necks/fpn.py:165
Method
forward
(self, x)
mmdetection/mmdet/models/necks/rfp.py:47
Method
forward
(self, inputs)
mmdetection/mmdet/models/necks/rfp.py:110
Method
forward
Forward function.
mmdetection/mmdet/models/necks/hrfpn.py:79
Method
forward
Forward function.
mmdetection/mmdet/models/necks/nasfcos_fpn.py:115
Method
forward
Forward function.
mmdetection/mmdet/models/necks/fpn_carafe.py:239
← previous
next →
901–1,000 of 1,414, ranked by callers