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
Function
test_cast_tensor_type
()
mmdetection/tests/test_fp16.py:10
Function
test_ce_loss
()
mmdetection/tests/test_models/test_losses.py:7
Function
test_center_region_assigner
()
mmdetection/tests/test_assigner.py:293
Function
test_center_region_assigner_with_empty_bboxes
()
mmdetection/tests/test_assigner.py:348
Function
test_center_region_assigner_with_empty_gts
()
mmdetection/tests/test_assigner.py:364
Function
test_center_region_assigner_with_ignore
()
mmdetection/tests/test_assigner.py:319
Function
test_config_build_detector
Test that all detection models defined in the configs can be initialized.
mmdetection/tests/test_config.py:24
Function
test_config_data_pipeline
Test whether the data pipeline is valid and can process corner cases. CommandLine: xdoctest -m tests/test_config.py test_config_build_dat
mmdetection/tests/test_config.py:78
Function
test_corner_head_loss
Tests corner head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:619
Function
test_custom_classes_override_default
(dataset)
mmdetection/tests/test_data/test_dataset.py:15
Function
test_dataset_wrapper
()
mmdetection/tests/test_data/test_dataset.py:89
Function
test_default_format_bundle
()
mmdetection/tests/test_data/test_formatting.py:8
Function
test_faster_rcnn_ohem_forward
()
mmdetection/tests/test_models/test_forward.py:130
Function
test_fcos_head_loss
Tests fcos head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:11
Function
test_flip
()
mmdetection/tests/test_data/test_transform.py:82
Function
test_force_fp32
()
mmdetection/tests/test_fp16.py:178
Function
test_fpn
Tests fpn.
mmdetection/tests/test_models/test_necks.py:8
Function
test_fsaf_head_loss
Tests anchor head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:135
Function
test_ga_anchor_head_loss
Tests anchor head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:212
Function
test_groie
()
mmdetection/tests/test_models/test_roi_extractor.py:7
Function
test_guided_anchor
()
mmdetection/tests/test_anchor.py:247
Function
test_hourglass_backbone
()
mmdetection/tests/test_models/test_backbones.py:819
Function
test_htc_aug_test
()
mmdetection/tests/test_data/test_models_aug_test.py:82
Method
test_load_img
(self)
mmdetection/tests/test_data/test_loading.py:16
Method
test_load_multi_channel_img
(self)
mmdetection/tests/test_data/test_loading.py:58
Function
test_mask_head_loss
Test mask head loss when mask target is empty.
mmdetection/tests/test_models/test_heads.py:521
Function
test_mask_rcnn_aug_test
()
mmdetection/tests/test_data/test_models_aug_test.py:74
Function
test_max_iou_assigner
()
mmdetection/tests/test_assigner.py:14
Function
test_max_iou_assigner_with_empty_boxes
Test corner case where a network might predict no boxes.
mmdetection/tests/test_assigner.py:84
Function
test_max_iou_assigner_with_empty_boxes_and_gt
Test corner case where a network might predict no boxes and no gt.
mmdetection/tests/test_assigner.py:142
Function
test_max_iou_assigner_with_empty_boxes_and_ignore
Test corner case where a network might predict no boxes and ignore_iof_thr is on.
mmdetection/tests/test_assigner.py:108
Function
test_max_iou_assigner_with_empty_gt
Test corner case where an image might have no true detections.
mmdetection/tests/test_assigner.py:65
Function
test_max_iou_assigner_with_ignore
()
mmdetection/tests/test_assigner.py:38
Function
test_min_iou_random_crop
()
mmdetection/tests/test_data/test_transform.py:167
Function
test_multi_scale_flip_aug
()
mmdetection/tests/test_data/test_transform.py:456
Function
test_normalize
()
mmdetection/tests/test_data/test_transform.py:257
Function
test_ohem_sampler
()
mmdetection/tests/test_data/test_sampler.py:110
Function
test_ohem_sampler_empty_gt
()
mmdetection/tests/test_data/test_sampler.py:155
Function
test_ohem_sampler_empty_pred
()
mmdetection/tests/test_data/test_sampler.py:196
Function
test_pad
()
mmdetection/tests/test_data/test_transform.py:217
Function
test_pisa_retinanet_head_loss
Tests pisa retinanet head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_pisa_heads.py:8
Function
test_pisa_roi_head_loss
Tests pisa roi head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_pisa_heads.py:150
Function
test_pisa_ssd_head_loss
Tests pisa ssd head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_pisa_heads.py:75
Function
test_point_assigner
()
mmdetection/tests/test_assigner.py:154
Function
test_point_assigner_with_empty_boxes_and_gt
Test corner case where an image might predict no points and no gt.
mmdetection/tests/test_assigner.py:187
Function
test_point_assigner_with_empty_gt
Test corner case where an image might have no true detections.
mmdetection/tests/test_assigner.py:171
Function
test_polygon_mask_area
()
mmdetection/tests/test_masks.py:531
Function
test_polygon_mask_crop
()
mmdetection/tests/test_masks.py:449
Function
test_polygon_mask_crop_and_resize
()
mmdetection/tests/test_masks.py:506
Function
test_polygon_mask_expand
()
mmdetection/tests/test_masks.py:499
Function
test_polygon_mask_flip
()
mmdetection/tests/test_masks.py:413
Function
test_polygon_mask_index
()
mmdetection/tests/test_masks.py:589
Function
test_polygon_mask_init
()
mmdetection/tests/test_masks.py:302
Function
test_polygon_mask_iter
()
mmdetection/tests/test_masks.py:603
Function
test_polygon_mask_pad
()
mmdetection/tests/test_masks.py:478
Function
test_polygon_mask_rescale
()
mmdetection/tests/test_masks.py:330
Function
test_polygon_mask_resize
()
mmdetection/tests/test_masks.py:358
Function
test_polygon_mask_to_bitmap
()
mmdetection/tests/test_masks.py:548
Function
test_polygon_mask_to_ndarray
()
mmdetection/tests/test_masks.py:556
Function
test_polygon_to_tensor
()
mmdetection/tests/test_masks.py:572
Function
test_random_assign_result
Test random instantiation of assign result to catch corner cases.
mmdetection/tests/test_assigner.py:279
Function
test_random_center_crop_pad
()
mmdetection/tests/test_data/test_transform.py:310
Function
test_random_crop
()
mmdetection/tests/test_data/test_transform.py:119
Function
test_random_sample_result
()
mmdetection/tests/test_data/test_sampler.py:236
Function
test_random_sampler
()
mmdetection/tests/test_data/test_sampler.py:8
Function
test_random_sampler_empty_gt
()
mmdetection/tests/test_data/test_sampler.py:44
Function
test_random_sampler_empty_pred
()
mmdetection/tests/test_data/test_sampler.py:70
Function
test_refine_boxes
Mirrors the doctest in ``mmdet.models.bbox_heads.bbox_head.BBoxHead.refine_boxes`` but checks for multiple values of n_roi / n_img.
mmdetection/tests/test_models/test_heads.py:356
Function
test_regnet_backbone
(arch_name, arch, out_channels)
mmdetection/tests/test_models/test_backbones.py:737
Function
test_renext_bottleneck
()
mmdetection/tests/test_models/test_backbones.py:654
Function
test_res2net_backbone
()
mmdetection/tests/test_models/test_backbones.py:797
Function
test_res2net_bottle2neck
()
mmdetection/tests/test_models/test_backbones.py:763
Function
test_resize
()
mmdetection/tests/test_data/test_transform.py:14
Function
test_resnest_stem
()
mmdetection/tests/test_models/test_backbones.py:292
Function
test_resnet_backbone
Test resnet backbone.
mmdetection/tests/test_models/test_backbones.py:340
Function
test_resnet_basic_block
()
mmdetection/tests/test_models/test_backbones.py:51
Function
test_resnet_bottleneck
()
mmdetection/tests/test_models/test_backbones.py:101
Function
test_resnet_res_layer
()
mmdetection/tests/test_models/test_backbones.py:236
Function
test_resnext_backbone
()
mmdetection/tests/test_models/test_backbones.py:686
Function
test_retina_anchor
()
mmdetection/tests/test_anchor.py:148
Function
test_rpn_forward
()
mmdetection/tests/test_models/test_forward.py:48
Function
test_score_hlr_sampler_empty_pred
()
mmdetection/tests/test_data/test_sampler.py:250
Method
test_simple_inference
(self)
mmdetection/tests/test_async.py:65
Function
test_single_stage_forward_cpu
(cfg_file)
mmdetection/tests/test_models/test_forward.py:241
Function
test_single_stage_forward_gpu
(cfg_file)
mmdetection/tests/test_models/test_forward.py:90
Function
test_ssd_anchor_generator
()
mmdetection/tests/test_anchor.py:43
Function
test_standard_anchor_generator
()
mmdetection/tests/test_anchor.py:10
Function
test_strides
()
mmdetection/tests/test_anchor.py:22
Function
test_two_stage_forward
(cfg_file)
mmdetection/tests/test_models/test_forward.py:180
Method
to_ndarray
Convert masks to the format of ndarray. Return: ndarray: Converted masks in the format of ndarray.
mmdetection/mmdet/core/mask/structures.py:114
Method
to_tensor
Convert masks to the format of Tensor. Args: dtype (str): Dtype of converted mask. device (torch.device): Device of c
mmdetection/mmdet/core/mask/structures.py:123
Function
tpfp_default
Check if detected bboxes are true positive or false positive. Args: det_bbox (ndarray): Detected bboxes of this image, of shape (m, 5).
mmdetection/mmdet/core/evaluation/mean_ap.py:153
Function
tpfp_imagenet
Check if detected bboxes are true positive or false positive. Args: det_bbox (ndarray): Detected bboxes of this image, of shape (m, 5).
mmdetection/mmdet/core/evaluation/mean_ap.py:59
Method
train
Convert the model into training mode while keep normalization layer freezed.
mmdetection/mmdet/models/backbones/resnet.py:640
Method
train
(self, mode=True)
mmdetection/mmdet/models/roi_heads/shared_heads/res_layer.py:73
Method
train_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmdetection/mmdet/models/detectors/base.py:211
Method
val_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
mmdetection/mmdet/models/detectors/base.py:246
Method
valid_flags
Generate valid flags of anchors in multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
mmdetection/mmdet/core/anchor/anchor_generator.py:269
Function
weighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
mmdetection/mmdet/models/losses/utils.py:55
Function
wider_face_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:4
← previous
next →
1,301–1,400 of 1,414, ranked by callers