MCPcopy Create free account

hub / github.com/Sense-X/Co-DETR / functions

Functions2,920 in github.com/Sense-X/Co-DETR

↓ 1 callersMethod_convert_hierarchy_tree
Get matrix of the corresponding relationship between the parent class and the child class. Args: hierarchy_map (dict): In
mmdet/datasets/openimages.py:380
↓ 1 callersMethod_copy_paste
CopyPaste transform function. Args: dst_results (dict): Result dict of the destination image. src_results (dict): Res
mmdet/datasets/pipelines/transforms.py:2854
↓ 1 callersFunction_creat_oid_challenge_style_ann
(txt_file, label_file, label_level_file)
tests/test_data/test_datasets/test_openimages_dataset.py:132
↓ 1 callersFunction_create_dummy_coco_json
(json_name)
tests/test_data/test_datasets/test_common.py:20
↓ 1 callersFunction_create_dummy_custom_pkl
(pkl_name)
tests/test_data/test_datasets/test_common.py:80
↓ 1 callersFunction_create_hierarchy_np
(hierarchy_name)
tests/test_data/test_datasets/test_openimages_dataset.py:112
↓ 1 callersFunction_create_ids_error_coco_json
(json_name)
tests/test_data/test_datasets/test_coco_dataset.py:11
↓ 1 callersFunction_create_ids_error_oid_csv
( label_file, fake_csv_file, )
tests/test_data/test_datasets/test_openimages_dataset.py:12
↓ 1 callersFunction_create_instance_segmentation_gt_annotations
(ann_file)
tests/test_data/test_datasets/test_panoptic_dataset.py:343
↓ 1 callersFunction_create_oid_style_ann
(label_file, csv_file, label_level_file)
tests/test_data/test_datasets/test_openimages_dataset.py:44
↓ 1 callersFunction_create_panoptic_style_json
(json_name)
tests/test_data/test_datasets/test_panoptic_dataset.py:18
↓ 1 callersMethod_crop_data
Function to randomly crop images, bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result dict fr
mmdet/datasets/pipelines/transforms.py:787
↓ 1 callersMethod_del_block_plugins
delete plugins for block if exist. Args: plugin_names (list[str]): List of plugins name to delete.
mmdet/models/backbones/resnext.py:98
↓ 1 callersFunction_demodata_refine_boxes
Create random test data for the ``mmdet.models.bbox_heads.bbox_head.BBoxHead.refine_boxes`` method.
tests/test_models/test_roi_heads/test_bbox_head.py:212
↓ 1 callersMethod_det2json
Convert detection results to COCO json style.
mmdet/datasets/coco.py:239
↓ 1 callersMethod_evaluate_cityscapes
Evaluation in Cityscapes protocol. Args: results (list): Testing results of the dataset. txtfile_prefix (str | None):
mmdet/datasets/cityscapes.py:278
↓ 1 callersFunction_expand_onehot_labels
(labels, label_weights, label_channels)
mmdet/models/losses/ghm_loss.py:10
↓ 1 callersFunction_expand_onehot_labels
Expand onehot labels to match the size of prediction.
mmdet/models/losses/cross_entropy_loss.py:156
↓ 1 callersMethod_filter_box_candidates
Filter out bboxes too small after Mosaic.
mmdet/datasets/pipelines/transforms.py:2216
↓ 1 callersMethod_filter_box_candidates
Compute candidate boxes which include following 5 things: bbox1 before augment, bbox2 after augment, min_bbox_size (pixels), min_area
mmdet/datasets/pipelines/transforms.py:2470
↓ 1 callersMethod_filter_imgs
Filter images too small.
mmdet/datasets/custom.py:178
↓ 1 callersMethod_filter_invalid
Filter bboxes and corresponding masks too small after shear augmentation.
mmdet/datasets/pipelines/auto_augment.py:267
↓ 1 callersMethod_filter_invalid
Filter bboxes and corresponding masks too small after rotate augmentation.
mmdet/datasets/pipelines/auto_augment.py:487
↓ 1 callersMethod_filter_invalid
Filter bboxes and masks too small or translated out of image.
mmdet/datasets/pipelines/auto_augment.py:668
↓ 1 callersMethod_focal_loss_cost
Args: cls_pred (Tensor): Predicted classification logits, shape (num_query, num_class). gt_labels (Te
mmdet/core/bbox/match_costs/match_cost.py:92
↓ 1 callersMethod_forward_cls_reg
Forward function for classification and regression parts.
mmdet/models/roi_heads/bbox_heads/scnet_bbox_head.py:31
↓ 1 callersMethod_forward_shared
Forward function for shared part.
mmdet/models/roi_heads/bbox_heads/scnet_bbox_head.py:14
↓ 1 callersMethod_freeze_stages
(self)
mmdet/models/backbones/darknet.py:163
↓ 1 callersMethod_freeze_stages
(self)
mmdet/models/backbones/csp_darknet.py:261
↓ 1 callersMethod_freeze_stages
(self)
mmdet/models/backbones/swin.py:647
↓ 1 callersMethod_freeze_stages
(self)
mmdet/models/backbones/efficientnet.py:404
↓ 1 callersMethod_freeze_stages
(self)
mmdet/models/backbones/mobilenet_v2.py:167
↓ 1 callersFunction_generate_batch_data
(sampler, batch_size)
demo/create_result_gif.py:32
↓ 1 callersMethod_get_bboxes_single
(self, cls_scores, bbox_preds,
mmdet/models/dense_heads/guided_anchor_head.py:800
↓ 1 callersMethod_get_bboxes_single
Transform outputs of a single image into bbox predictions. Args: cls_score_list (list[Tensor]): Box scores from all scale
mmdet/models/dense_heads/base_dense_head.py:109
↓ 1 callersMethod_get_bboxes_single
Transform outputs of a single image into bbox results. Args: center_heatmap_pred (Tensor): Center heatmap for current level with
mmdet/models/dense_heads/centernet_head.py:297
↓ 1 callersMethod_get_bboxes_single
Similar to func:``AnchorHead._get_bboxes_single``, but additionally processes coeff_preds_list and uses fast NMS instead of traditional
mmdet/models/dense_heads/yolact_head.py:358
↓ 1 callersMethod_get_bboxes_single
Transform outputs of a single image into bbox predictions. Args: cls_scores (list[Tensor]): Box scores from all scale
mmdet/models/dense_heads/cascade_rpn_head.py:547
↓ 1 callersMethod_get_bboxes_single
(self, cls_scores, bbox_cls_preds,
mmdet/models/dense_heads/sabl_retina_head.py:567
↓ 1 callersMethod_get_bboxes_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
mmdet/models/dense_heads/detr_head.py:619
↓ 1 callersMethod_get_bboxes_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
projects/models/co_deformable_detr_head.py:989
↓ 1 callersFunction_get_bias_color
Get different colors for each masks. Get different colors for each masks by adding a bias color to the base category color. Args:
mmdet/core/visualization/image.py:63
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_runtime/test_config.py:12
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_loss_compatibility.py:11
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_forward.py:11
↓ 1 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_models/test_loss_compatibility.py:26
↓ 1 callersMethod_get_crop_size
Randomly generates the absolute crop size based on `crop_type` and `image_size`. Args: image_size (tuple): (h, w).
mmdet/datasets/pipelines/transforms.py:854
↓ 1 callersMethod_get_guided_anchors_single
Get guided anchors and loc masks for a single level. Args: square (tensor): Squares of a single level. shape_pred (te
mmdet/models/dense_heads/guided_anchor_head.py:350
↓ 1 callersMethod_get_l1_target
Convert gt bboxes to center offset and log width height.
mmdet/models/dense_heads/yolox_head.py:488
↓ 1 callersMethod_get_points_single
Get points of a single scale level. This function will be deprecated soon.
mmdet/models/dense_heads/anchor_free_head.py:282
↓ 1 callersMethod_get_repeat_factors
Get repeat factor for each images in the dataset. Args: dataset (:obj:`CustomDataset`): The dataset repeat_thr (float
mmdet/datasets/dataset_wrappers.py:267
↓ 1 callersMethod_get_results_single
Get processed mask related results of single image. Args: kernel_preds (Tensor): Dynamic kernel prediction of all points
mmdet/models/dense_heads/solov2_head.py:645
↓ 1 callersMethod_get_results_single
Get processed mask related results of single image. Args: cls_scores (Tensor): Classification score of all points
mmdet/models/dense_heads/solo_head.py:488
↓ 1 callersMethod_get_results_single
Get processed mask related results of single image. Args: cls_scores (Tensor): Classification score of all points
mmdet/models/dense_heads/solo_head.py:939
↓ 1 callersMethod_get_rotation_matrix
(rotate_degrees)
mmdet/datasets/pipelines/transforms.py:2679
↓ 1 callersMethod_get_scaling_matrix
(scale_ratio)
mmdet/datasets/pipelines/transforms.py:2688
↓ 1 callersMethod_get_shear_matrix
(x_shear_degrees, y_shear_degrees)
mmdet/datasets/pipelines/transforms.py:2702
↓ 1 callersMethod_get_targets_single
Compute targets for predictions of single image. Args: gt_bboxes (Tensor): Ground truth bbox of each instance, sh
mmdet/models/dense_heads/solo_head.py:291
↓ 1 callersMethod_get_translation_matrix
(x, y)
mmdet/datasets/pipelines/transforms.py:2711
↓ 1 callersFunction_imequalize
(img)
tests/test_data/test_pipelines/test_transform/test_img_augment.py:46
↓ 1 callersMethod_imequalize
Equalizes the histogram of one image.
mmdet/datasets/pipelines/auto_augment.py:775
↓ 1 callersMethod_indices_of_rank
Slice the infinite indices by rank.
mmdet/datasets/samplers/infinite_sampler.py:82
↓ 1 callersMethod_indices_of_rank
Slice the infinite indices by rank.
mmdet/datasets/samplers/infinite_sampler.py:166
↓ 1 callersMethod_infinite_indices
Infinitely yield a sequence of indices.
mmdet/datasets/samplers/infinite_sampler.py:71
↓ 1 callersMethod_infinite_indices
Infinitely yield a sequence of indices.
mmdet/datasets/samplers/infinite_sampler.py:155
↓ 1 callersMethod_init_centripetal_layers
Initialize centripetal layers. Including feature adaption deform convs (feat_adaption), deform offset prediction convs (dcn_off), gui
mmdet/models/dense_heads/centripetal_head.py:73
↓ 1 callersMethod_init_corner_emb_layers
Initialize corner embedding layers. Only include corner embedding branch with two parts: prefix `tl_` for top-left and `br_` for bott
mmdet/models/dense_heads/corner_head.py:203
↓ 1 callersMethod_init_corner_kpt_layers
Initialize corner keypoint layers. Including corner heatmap branch and corner offset branch. Each branch has two parts: prefix `tl_`
mmdet/models/dense_heads/corner_head.py:165
↓ 1 callersMethod_init_data_table
Initialize the W&B Tables for validation data.
mmdet/core/hook/wandblogger_hook.py:314
↓ 1 callersMethod_init_layers
(self)
mmdet/models/necks/dilated_encoder.py:78
↓ 1 callersMethod_init_layers
(self)
mmdet/models/dense_heads/solov2_head.py:66
↓ 1 callersMethod_init_layers
(self)
mmdet/models/dense_heads/guided_anchor_head.py:217
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ssd_head.py:125
↓ 1 callersMethod_init_layers
Initialize a sparse set of proposal boxes and proposal features.
mmdet/models/dense_heads/embedding_rpn_head.py:38
↓ 1 callersMethod_init_layers
(self)
mmdet/models/dense_heads/yolo_head.py:152
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/anchor_head.py:127
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/yolact_head.py:490
↓ 1 callersMethod_init_layers
A helper function to take a config setting and turn it into a network.
mmdet/models/dense_heads/yolact_head.py:625
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/anchor_free_head.py:107
↓ 1 callersMethod_init_layers
(self)
mmdet/models/dense_heads/yolox_head.py:131
↓ 1 callersMethod_init_layers
(self)
mmdet/models/dense_heads/solo_head.py:103
↓ 1 callersMethod_init_layers
(self)
mmdet/models/dense_heads/sabl_retina_head.py:163
↓ 1 callersMethod_init_layers
Initialize layers for CornerHead. Including two parts: corner keypoint layers and corner embedding layers
mmdet/models/dense_heads/corner_head.py:221
↓ 1 callersMethod_init_layers
Initialize layers of the transformer head.
mmdet/models/dense_heads/detr_head.py:143
↓ 1 callersMethod_init_layers
(self)
projects/models/co_dino_head.py:39
↓ 1 callersMethod_init_layers
Initialize layers of the DeformableDetrTransformer.
projects/models/transformer.py:153
↓ 1 callersMethod_init_layers
(self)
projects/models/transformer.py:464
↓ 1 callersFunction_init_model
(num_stuff_classes)
tests/test_models/test_dense_heads/test_mask2former_head.py:108
↓ 1 callersMethod_init_predictor
Initialize predictor layers of the head.
mmdet/models/dense_heads/anchor_free_head.py:153
↓ 1 callersMethod_init_weight
(self)
tests/test_utils/test_hook.py:175
↓ 1 callersMethod_init_weights
(self)
mmdet/models/necks/dyhead.py:91
↓ 1 callersMethod_init_weights
(self)
mmdet/models/roi_heads/mask_heads/refine_mask_head.py:89
↓ 1 callersMethod_init_weights
(self)
mmdet/models/roi_heads/mask_heads/refine_mask_head.py:413
↓ 1 callersMethod_lay_masks
Lay instance masks to a result map. Args: bboxes: The bboxes results, (K, 4). labels: The labels of bboxes, (K, ).
mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py:27
↓ 1 callersMethod_load_anns
(self, results)
mmdet/datasets/pipelines/instaboost.py:56
↓ 1 callersFunction_load_bboxes
(results)
tests/test_data/test_pipelines/test_transform/test_translate.py:76
↓ 1 callersMethod_load_from_state_dict
load checkpoints.
mmdet/models/dense_heads/detr_head.py:163
↓ 1 callersFunction_load_labels
(results)
tests/test_data/test_pipelines/test_transform/test_translate.py:86
↓ 1 callersFunction_load_masks
(results, poly2mask=True)
tests/test_data/test_pipelines/test_transform/test_translate.py:115
↓ 1 callersMethod_load_masks
Private function to load mask annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdet/datasets/pipelines/loading.py:334
← previousnext →601–700 of 2,920, ranked by callers