MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Methodsp_conv_forward
Sparse convolution forward function.
mmpretrain/models/utils/sparse_modules.py:29
Functionsplit_batch
Split data_batch by tags. Code is modified from <https://github.com/microsoft/SoftTeacher/blob/main/ssod/utils/structure_utils.py> # noqa: E5
mmdet/utils/split_batch.py:5
Functionsplit_combined_polys
Split the combined 1-D polys into masks. A mask is represented as a list of polys, and a poly is represented as a 1-D array. In dataset, all
mmdet/structures/mask/utils.py:8
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
mmpretrain/engine/optimizers/lamb.py:121
Methodstep
Performs a single optimization step.
mmpretrain/engine/optimizers/adan_t.py:107
Methodsub_data_root
Return the sub data root.
mmdet/datasets/xml_style.py:33
Methodsummarize
Compute and display summary metrics for evaluation results. Note this function can *only* be applied on the default parameter setting
mmdet/datasets/api_wrappers/cocoeval_mp.py:212
Functionswish
(x)
mmpretrain/models/multimodal/chinese_clip/bert.py:40
Methodswitch_pipeline
(dataset, pipeline)
mmpretrain/engine/hooks/switch_recipe_hook.py:136
Methodswitch_to_deploy
(self)
mmpretrain/models/backbones/repmlp.py:575
Methodswitch_to_deploy
Switch the model structure from training mode to deployment mode.
mmpretrain/models/backbones/repvgg.py:159
Methodswitch_to_deploy
(self)
mmpretrain/models/backbones/repvgg.py:618
Methodswitch_to_deploy
(self)
mmpretrain/models/backbones/replknet.py:664
Methodswitch_to_deploy
(self)
mmpretrain/models/backbones/riformer.py:119
Methodswitch_to_deploy
(self)
mmpretrain/models/backbones/riformer.py:386
Methodswitch_to_deploy
Switch the model structure from training mode to deployment mode.
mmpretrain/models/backbones/mobileone.py:154
Methodswitch_to_deploy
switch the model to deploy mode, which has smaller amount of parameters and calculations.
mmpretrain/models/backbones/mobileone.py:509
Methodtasks
(self)
mmpretrain/structures/multi_task_data_sample.py:9
MethodtearDown
(self)
tests/test_engine/test_runner/test_loops.py:83
MethodtearDown
(self)
tests/test_engine/test_hooks/test_mean_teacher_hook.py:97
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_coco_video_metric.py:108
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_coco_metric.py:105
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_cityscapes_metric.py:23
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_crowdhuman_metric.py:27
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_lvis_metric.py:111
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_youtube_vis_metric.py:25
MethodtearDown
(self)
tests/test_evaluation/test_metrics/test_coco_panoptic_metric.py:184
MethodtearDown
(self)
tests/test_structures/test_bbox/test_box_type.py:20
MethodtearDown
(self)
tests/test_datasets/test_lvis.py:146
MethodtearDown
(self)
tests/test_datasets/test_coco_api_wrapper.py:15
MethodtearDown
(self)
tests/test_datasets/test_cityscapes.py:151
MethodtearDown
(self)
tests/test_datasets/test_coco_panoptic.py:171
MethodtearDown
(self)
tests/test_datasets/test_transforms/test_loading.py:274
MethodtearDown
(self)
tests/test_datasets/test_transforms/test_loading.py:388
Functiontest_AdaptiveAvgPool2d
()
tests/test_models/test_layers/test_brick_wrappers.py:41
Functiontest_FocalLoss_loss
(loss_class, input_shape)
tests/test_models/test_losses/test_loss.py:153
Functiontest_GHMR_loss
(loss_class, input_shape)
tests/test_models/test_losses/test_loss.py:189
Functiontest_QualityFocalLoss_Loss
(loss_class, activated)
tests/test_models/test_losses/test_loss.py:55
Functiontest_adaptive_avg_pool2d
()
tests/test_models/test_layers/test_brick_wrappers.py:16
Functiontest_adaptive_padding
()
tests/test_models/test_layers/test_transformer.py:13
Methodtest_add_datasample
(self)
tests/test_visualization/test_local_visualizer.py:39
Methodtest_add_datasample
(self)
tests/test_visualization/test_local_visualizer.py:157
Methodtest_after_test_iter
(self)
tests/test_engine/test_hooks/test_visualization_hook.py:51
Methodtest_after_test_iter
(self)
tests/test_engine/test_hooks/test_visualization_hook.py:105
Methodtest_after_test_iter
(self)
tests/test_engine/test_hooks/test_memory_profiler_hook.py:30
Methodtest_after_train_iter
(self)
tests/test_engine/test_hooks/test_checkloss_hook.py:12
Methodtest_after_train_iter
(self)
tests/test_engine/test_hooks/test_memory_profiler_hook.py:10
Methodtest_after_val_iter
(self)
tests/test_engine/test_hooks/test_visualization_hook.py:45
Methodtest_after_val_iter
(self)
tests/test_engine/test_hooks/test_memory_profiler_hook.py:20
Methodtest_after_val_iter_image
(self)
tests/test_engine/test_hooks/test_visualization_hook.py:99
Functiontest_anchor_generator_with_tuples
()
tests/test_models/test_task_modules/test_prior_generators/test_anchor_generator.py:474
Methodtest_anchor_head_loss
Tests anchor head loss when truth is empty and non-empty.
tests/test_models/test_dense_heads/test_anchor_head.py:14
Methodtest_approx_iou_assigner
(self)
tests/test_models/test_task_modules/test_assigners/test_approx_max_iou_assigner.py:12
Methodtest_approx_iou_assigner_with_empty_boxes
Test corner case where an network might predict no boxes.
tests/test_models/test_task_modules/test_assigners/test_approx_max_iou_assigner.py:66
Methodtest_approx_iou_assigner_with_empty_boxes_and_gt
Test corner case where an network might predict no boxes and no gt.
tests/test_models/test_task_modules/test_assigners/test_approx_max_iou_assigner.py:89
Methodtest_approx_iou_assigner_with_empty_gt
Test corner case where an image might have no true detections.
tests/test_models/test_task_modules/test_assigners/test_approx_max_iou_assigner.py:40
Methodtest_assign
(self)
tests/test_models/test_task_modules/test_assigners/test_dynamic_soft_label_assigner.py:14
Methodtest_assign
(self)
tests/test_models/test_task_modules/test_assigners/test_grid_assigner.py:13
Methodtest_assign
(self)
tests/test_models/test_task_modules/test_assigners/test_simota_assigner.py:13
Methodtest_assign_with_empty_gt
(self)
tests/test_models/test_task_modules/test_assigners/test_dynamic_soft_label_assigner.py:45
Methodtest_assign_with_empty_gt
(self)
tests/test_models/test_task_modules/test_assigners/test_grid_assigner.py:56
Methodtest_assign_with_empty_gt
(self)
tests/test_models/test_task_modules/test_assigners/test_simota_assigner.py:50
Methodtest_assign_with_empty_priors
(self)
tests/test_models/test_task_modules/test_assigners/test_grid_assigner.py:69
Methodtest_assign_with_no_valid_bboxes
(self)
tests/test_models/test_task_modules/test_assigners/test_dynamic_soft_label_assigner.py:30
Methodtest_assign_with_no_valid_bboxes
(self)
tests/test_models/test_task_modules/test_assigners/test_simota_assigner.py:32
Methodtest_atss_assigner
(self)
tests/test_models/test_task_modules/test_assigners/test_atss_assigner.py:12
Methodtest_atss_assigner_with_empty_boxes
Test corner case where a network might predict no boxes.
tests/test_models/test_task_modules/test_assigners/test_region_assigner.py:103
Methodtest_atss_assigner_with_empty_boxes
Test corner case where a network might predict no boxes.
tests/test_models/test_task_modules/test_assigners/test_atss_assigner.py:89
Methodtest_atss_assigner_with_empty_boxes_and_gt
Test corner case where a network might predict no boxes and no gt.
tests/test_models/test_task_modules/test_assigners/test_region_assigner.py:123
Methodtest_atss_assigner_with_empty_boxes_and_gt
Test corner case where a network might predict no boxes and no gt.
tests/test_models/test_task_modules/test_assigners/test_atss_assigner.py:134
Methodtest_atss_assigner_with_empty_boxes_and_ignore
Test corner case where a network might predict no boxes and ignore_iof_thr is on.
tests/test_models/test_task_modules/test_assigners/test_atss_assigner.py:107
Methodtest_atss_assigner_with_empty_gt
Test corner case where an image might have no true detections.
tests/test_models/test_task_modules/test_assigners/test_atss_assigner.py:68
Methodtest_atss_assigner_with_ignore
(self)
tests/test_models/test_task_modules/test_assigners/test_atss_assigner.py:38
Methodtest_atss_head_loss
Tests atss head loss when truth is empty and non-empty.
tests/test_models/test_dense_heads/test_atss_head.py:14
Methodtest_autoassign_head_loss
Tests autoassign head loss when truth is empty and non-empty.
tests/test_models/test_dense_heads/test_autoassign_head.py:12
Methodtest_autoaugment
(self)
tests/test_datasets/test_transforms/test_augment_wrappers.py:31
Methodtest_autocontrast
(self)
tests/test_datasets/test_transforms/test_colorspace.py:318
Functiontest_avoidoom
()
tests/test_utils/test_memory.py:9
Methodtest_base_frame_sample
(self)
tests/test_datasets/test_transforms/test_frame_sampling.py:52
Methodtest_batch_fixed_size_pad
(self)
tests/test_models/test_data_preprocessors/test_data_preprocessor.py:179
Methodtest_batch_resize
(self)
tests/test_models/test_data_preprocessors/test_batch_resize.py:10
Methodtest_batch_sync_random_resize
(self)
tests/test_models/test_data_preprocessors/test_data_preprocessor.py:150
Methodtest_bbox_head_get_results
(self)
tests/test_models/test_roi_heads/test_bbox_heads/test_sabl_bbox_head.py:27
Methodtest_bbox_head_get_results
(self)
tests/test_models/test_roi_heads/test_bbox_heads/test_multi_instance_bbox_head.py:28
Methodtest_bbox_head_get_results
(self)
tests/test_models/test_roi_heads/test_bbox_heads/test_bbox_head.py:31
Methodtest_bbox_head_refine_bboxes
(self)
tests/test_models/test_roi_heads/test_bbox_heads/test_sabl_bbox_head.py:106
Methodtest_bbox_head_refine_bboxes
(self)
tests/test_models/test_roi_heads/test_bbox_heads/test_bbox_head.py:110
Methodtest_bbox_match_cost
(self)
tests/test_models/test_task_modules/test_assigners/test_hungarian_assigner.py:50
Methodtest_bbox_match_cost
(self)
tests/test_models/test_task_modules/test_assigners/test_topk_hungarian_assigner.py:48
Functiontest_bbox_overlaps_2d
(eps=1e-7)
tests/test_models/test_task_modules/test_iou2d_calculator.py:11
Methodtest_bbox_post_process
Test the length of detection instance results is 0.
tests/test_models/test_dense_heads/test_rpn_head.py:107
Methodtest_before_train_epch
(self)
tests/test_engine/test_hooks/test_num_class_check_hook.py:66
Methodtest_before_val_epoch
(self)
tests/test_engine/test_hooks/test_num_class_check_hook.py:87
Methodtest_before_val_epoch_dist
(self, mock)
tests/test_engine/test_hooks/test_sync_norm_hook.py:25
Methodtest_before_val_epoch_dist_no_norm
(self, mock)
tests/test_engine/test_hooks/test_sync_norm_hook.py:36
Methodtest_before_val_epoch_non_dist
(self, mock)
tests/test_engine/test_hooks/test_sync_norm_hook.py:14
Methodtest_bitmap_cat
(self)
tests/test_structures/test_mask/test_mask_structures.py:45
Methodtest_bitmap_translate_diff_size
(self)
tests/test_structures/test_mask/test_mask_structures.py:22
Methodtest_bitmap_translate_same_size
(self)
tests/test_structures/test_mask/test_mask_structures.py:11
Methodtest_box_type_input
(self)
tests/test_models/test_task_modules/test_assigners/test_dynamic_soft_label_assigner.py:60
← previousnext →5,901–6,000 of 6,823, ranked by callers