MCPcopy Create free account

hub / github.com/FenHua/DetDak / functions

Functions1,414 in github.com/FenHua/DetDak

Functiontest_cast_tensor_type
()
mmdetection/tests/test_fp16.py:10
Functiontest_ce_loss
()
mmdetection/tests/test_models/test_losses.py:7
Functiontest_center_region_assigner
()
mmdetection/tests/test_assigner.py:293
Functiontest_center_region_assigner_with_empty_bboxes
()
mmdetection/tests/test_assigner.py:348
Functiontest_center_region_assigner_with_empty_gts
()
mmdetection/tests/test_assigner.py:364
Functiontest_center_region_assigner_with_ignore
()
mmdetection/tests/test_assigner.py:319
Functiontest_config_build_detector
Test that all detection models defined in the configs can be initialized.
mmdetection/tests/test_config.py:24
Functiontest_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
Functiontest_corner_head_loss
Tests corner head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:619
Functiontest_custom_classes_override_default
(dataset)
mmdetection/tests/test_data/test_dataset.py:15
Functiontest_dataset_wrapper
()
mmdetection/tests/test_data/test_dataset.py:89
Functiontest_default_format_bundle
()
mmdetection/tests/test_data/test_formatting.py:8
Functiontest_faster_rcnn_ohem_forward
()
mmdetection/tests/test_models/test_forward.py:130
Functiontest_fcos_head_loss
Tests fcos head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:11
Functiontest_flip
()
mmdetection/tests/test_data/test_transform.py:82
Functiontest_force_fp32
()
mmdetection/tests/test_fp16.py:178
Functiontest_fpn
Tests fpn.
mmdetection/tests/test_models/test_necks.py:8
Functiontest_fsaf_head_loss
Tests anchor head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:135
Functiontest_ga_anchor_head_loss
Tests anchor head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:212
Functiontest_groie
()
mmdetection/tests/test_models/test_roi_extractor.py:7
Functiontest_guided_anchor
()
mmdetection/tests/test_anchor.py:247
Functiontest_hourglass_backbone
()
mmdetection/tests/test_models/test_backbones.py:819
Functiontest_htc_aug_test
()
mmdetection/tests/test_data/test_models_aug_test.py:82
Methodtest_load_img
(self)
mmdetection/tests/test_data/test_loading.py:16
Methodtest_load_multi_channel_img
(self)
mmdetection/tests/test_data/test_loading.py:58
Functiontest_mask_head_loss
Test mask head loss when mask target is empty.
mmdetection/tests/test_models/test_heads.py:521
Functiontest_mask_rcnn_aug_test
()
mmdetection/tests/test_data/test_models_aug_test.py:74
Functiontest_max_iou_assigner
()
mmdetection/tests/test_assigner.py:14
Functiontest_max_iou_assigner_with_empty_boxes
Test corner case where a network might predict no boxes.
mmdetection/tests/test_assigner.py:84
Functiontest_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
Functiontest_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
Functiontest_max_iou_assigner_with_empty_gt
Test corner case where an image might have no true detections.
mmdetection/tests/test_assigner.py:65
Functiontest_max_iou_assigner_with_ignore
()
mmdetection/tests/test_assigner.py:38
Functiontest_min_iou_random_crop
()
mmdetection/tests/test_data/test_transform.py:167
Functiontest_multi_scale_flip_aug
()
mmdetection/tests/test_data/test_transform.py:456
Functiontest_normalize
()
mmdetection/tests/test_data/test_transform.py:257
Functiontest_ohem_sampler
()
mmdetection/tests/test_data/test_sampler.py:110
Functiontest_ohem_sampler_empty_gt
()
mmdetection/tests/test_data/test_sampler.py:155
Functiontest_ohem_sampler_empty_pred
()
mmdetection/tests/test_data/test_sampler.py:196
Functiontest_pad
()
mmdetection/tests/test_data/test_transform.py:217
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_point_assigner
()
mmdetection/tests/test_assigner.py:154
Functiontest_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
Functiontest_point_assigner_with_empty_gt
Test corner case where an image might have no true detections.
mmdetection/tests/test_assigner.py:171
Functiontest_polygon_mask_area
()
mmdetection/tests/test_masks.py:531
Functiontest_polygon_mask_crop
()
mmdetection/tests/test_masks.py:449
Functiontest_polygon_mask_crop_and_resize
()
mmdetection/tests/test_masks.py:506
Functiontest_polygon_mask_expand
()
mmdetection/tests/test_masks.py:499
Functiontest_polygon_mask_flip
()
mmdetection/tests/test_masks.py:413
Functiontest_polygon_mask_index
()
mmdetection/tests/test_masks.py:589
Functiontest_polygon_mask_init
()
mmdetection/tests/test_masks.py:302
Functiontest_polygon_mask_iter
()
mmdetection/tests/test_masks.py:603
Functiontest_polygon_mask_pad
()
mmdetection/tests/test_masks.py:478
Functiontest_polygon_mask_rescale
()
mmdetection/tests/test_masks.py:330
Functiontest_polygon_mask_resize
()
mmdetection/tests/test_masks.py:358
Functiontest_polygon_mask_to_bitmap
()
mmdetection/tests/test_masks.py:548
Functiontest_polygon_mask_to_ndarray
()
mmdetection/tests/test_masks.py:556
Functiontest_polygon_to_tensor
()
mmdetection/tests/test_masks.py:572
Functiontest_random_assign_result
Test random instantiation of assign result to catch corner cases.
mmdetection/tests/test_assigner.py:279
Functiontest_random_center_crop_pad
()
mmdetection/tests/test_data/test_transform.py:310
Functiontest_random_crop
()
mmdetection/tests/test_data/test_transform.py:119
Functiontest_random_sample_result
()
mmdetection/tests/test_data/test_sampler.py:236
Functiontest_random_sampler
()
mmdetection/tests/test_data/test_sampler.py:8
Functiontest_random_sampler_empty_gt
()
mmdetection/tests/test_data/test_sampler.py:44
Functiontest_random_sampler_empty_pred
()
mmdetection/tests/test_data/test_sampler.py:70
Functiontest_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
Functiontest_regnet_backbone
(arch_name, arch, out_channels)
mmdetection/tests/test_models/test_backbones.py:737
Functiontest_renext_bottleneck
()
mmdetection/tests/test_models/test_backbones.py:654
Functiontest_res2net_backbone
()
mmdetection/tests/test_models/test_backbones.py:797
Functiontest_res2net_bottle2neck
()
mmdetection/tests/test_models/test_backbones.py:763
Functiontest_resize
()
mmdetection/tests/test_data/test_transform.py:14
Functiontest_resnest_stem
()
mmdetection/tests/test_models/test_backbones.py:292
Functiontest_resnet_backbone
Test resnet backbone.
mmdetection/tests/test_models/test_backbones.py:340
Functiontest_resnet_basic_block
()
mmdetection/tests/test_models/test_backbones.py:51
Functiontest_resnet_bottleneck
()
mmdetection/tests/test_models/test_backbones.py:101
Functiontest_resnet_res_layer
()
mmdetection/tests/test_models/test_backbones.py:236
Functiontest_resnext_backbone
()
mmdetection/tests/test_models/test_backbones.py:686
Functiontest_retina_anchor
()
mmdetection/tests/test_anchor.py:148
Functiontest_rpn_forward
()
mmdetection/tests/test_models/test_forward.py:48
Functiontest_score_hlr_sampler_empty_pred
()
mmdetection/tests/test_data/test_sampler.py:250
Methodtest_simple_inference
(self)
mmdetection/tests/test_async.py:65
Functiontest_single_stage_forward_cpu
(cfg_file)
mmdetection/tests/test_models/test_forward.py:241
Functiontest_single_stage_forward_gpu
(cfg_file)
mmdetection/tests/test_models/test_forward.py:90
Functiontest_ssd_anchor_generator
()
mmdetection/tests/test_anchor.py:43
Functiontest_standard_anchor_generator
()
mmdetection/tests/test_anchor.py:10
Functiontest_strides
()
mmdetection/tests/test_anchor.py:22
Functiontest_two_stage_forward
(cfg_file)
mmdetection/tests/test_models/test_forward.py:180
Methodto_ndarray
Convert masks to the format of ndarray. Return: ndarray: Converted masks in the format of ndarray.
mmdetection/mmdet/core/mask/structures.py:114
Methodto_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
Functiontpfp_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
Functiontpfp_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
Methodtrain
Convert the model into training mode while keep normalization layer freezed.
mmdetection/mmdet/models/backbones/resnet.py:640
Methodtrain
(self, mode=True)
mmdetection/mmdet/models/roi_heads/shared_heads/res_layer.py:73
Methodtrain_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
Methodval_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
Methodvalid_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
Functionweighted_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
Functionwider_face_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:4
← previousnext →1,301–1,400 of 1,414, ranked by callers