MCPcopy Create free account

hub / github.com/Megvii-BaseDetection/cvpods / functions

Functions2,734 in github.com/Megvii-BaseDetection/cvpods

↓ 1 callersMethod_apply
Apply the transforms on the input. Args: x: input to apply the transform operations. meth (str): meth.
cvpods/data/transforms/transform.py:403
↓ 1 callersFunction_apply_exif_orientation
Applies the exif orientation correctly. This code exists per the bug: https://github.com/python-pillow/Pillow/issues/3973 with the
cvpods/data/detection_utils.py:102
↓ 1 callersFunction_assignment_rule
Given two lists of boxes of N ground truth boxes and M anchor boxes, compute the assignment between the two, following the assignment rules i
cvpods/modeling/meta_arch/tensormask.py:35
↓ 1 callersMethod_batch_shuffle_ddp
Batch shuffle, for making use of BatchNorm. *** Only support DistributedDataParallel (DDP) model. ***
cvpods/modeling/meta_arch/moco.py:112
↓ 1 callersMethod_batch_unshuffle_ddp
Undo batch shuffle. *** Only support DistributedDataParallel (DDP) model. ***
cvpods/modeling/meta_arch/moco.py:140
↓ 1 callersFunction_build_extra_module
(name, pretrained)
cvpods/modeling/backbone/timm_backbone.py:128
↓ 1 callersMethod_build_feature_weight
(self, fm)
cvpods/layers/tree_filter_core.py:111
↓ 1 callersMethod_build_feature_weight
(self, fm)
cvpods/layers/tree_filter_core.py:149
↓ 1 callersMethod_build_matrix_index
(fm)
cvpods/layers/tree_filter_core.py:99
↓ 1 callersMethod_build_matrix_index
(fm)
cvpods/layers/tree_filter_core.py:137
↓ 1 callersMethod_build_res5_block
(self, cfg)
cvpods/modeling/roi_heads/roi_heads.py:339
↓ 1 callersFunction_build_single_dataset
Build a single dataset according to dataset_name. Args: config (BaseConfig): config. dataset_name (str): dat
cvpods/data/build.py:75
↓ 1 callersMethod_calculate_anchors
(self, sizes, aspect_ratios)
cvpods/modeling/anchor_generator.py:96
↓ 1 callersMethod_calculate_anchors
Args: sizes (list[list[int]]): sizes[i] is the list of anchor sizes to use for the i-th feature map. If len(sizes
cvpods/modeling/anchor_generator.py:227
↓ 1 callersFunction_cast_cfg_value_type
Checks that `replacement`, which is intended to replace `original` is of the right type. The type is correct if it matches exactly or is one
cvpods/configs/config_helper.py:215
↓ 1 callersFunction_check_size_scale_factor
(dim)
cvpods/layers/wrappers.py:630
↓ 1 callersMethod_clear
Clears the ground truth so that it's ready for another run.
cvpods/analyser/tide/quantify.py:217
↓ 1 callersFunction_configure_libraries
Configurations for some libraries.
cvpods/utils/env/env.py:63
↓ 1 callersMethod_convert_boxes
Convert different format of boxes to an NxB array, where B = 4 or 5 is the box dimension.
cvpods/utils/visualizer/visualizer.py:1083
↓ 1 callersMethod_convert_category_id
(self, segment_info)
cvpods/evaluation/panoptic_evaluation.py:60
↓ 1 callersMethod_convert_keypoints
(self, keypoints)
cvpods/utils/visualizer/visualizer.py:1115
↓ 1 callersMethod_convert_masks
Convert different format of masks or polygons to a tuple of masks and polygons. Returns: list[GenericMask]:
cvpods/utils/visualizer/visualizer.py:1092
↓ 1 callersFunction_create_gradient_clipper
Creates gradient clipping closure to clip by value or by norm, according to the provided config.
cvpods/solver/build.py:24
↓ 1 callersMethod_create_proposals_from_boxes
Args: boxes (list[Tensor]): per-image predicted boxes, each of shape Ri x 4 image_sizes (list[tuple]): list of image
cvpods/modeling/roi_heads/cascade_rcnn.py:210
↓ 1 callersMethod_create_tensors
(self, N)
tests/layers/test_nms.py:11
↓ 1 callersFunction_decode_cfg_value
Decodes a raw config value (e.g., from a yaml config files or command line argument) into a Python object. If the value is a dict, it wil
cvpods/configs/config_helper.py:180
↓ 1 callersMethod_deconv_init
(self)
cvpods/modeling/meta_arch/centernet.py:63
↓ 1 callersMethod_dequeue_and_enqueue
(self, keys)
cvpods/modeling/meta_arch/moco.py:96
↓ 1 callersMethod_derive_coco_results
Derive the desired score numbers from summarized COCOeval. Args: coco_eval (None or COCOEval): None represents no predic
cvpods/evaluation/widerface_evaluation.py:235
↓ 1 callersMethod_derive_coco_results
Derive the desired score numbers from summarized COCOeval. Args: coco_eval (None or COCOEval): None represents no predic
cvpods/evaluation/citypersons_evaluation.py:204
↓ 1 callersMethod_derive_coco_results
Derive the desired score numbers from summarized COCOeval. Args: coco_eval (None or COCOEval): None represents no predic
cvpods/evaluation/crowdhuman_evaluation.py:218
↓ 1 callersMethod_derive_lvis_results
Derive the desired score numbers from summarized LVISEval. Args: lvis_eval (None or LVISEval): None represents no predic
cvpods/evaluation/lvis_evaluation.py:221
↓ 1 callersMethod_detect_anomaly
(self, losses, loss_dict)
cvpods/engine/base_runner.py:201
↓ 1 callersMethod_do_eval
(self)
cvpods/engine/hooks.py:411
↓ 1 callersFunction_do_paste_mask
Args: masks: N, 1, H, W boxes: N, 4 img_h, img_w (int): skip_empty (bool): only paste masks within the region tha
cvpods/layers/mask_ops.py:17
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/cityscapes_evaluation.py:156
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/pascal_voc_evaluation.py:130
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/longtail_classification_evaluation.py:202
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/classification_evaluation.py:135
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/widerface_evaluation.py:506
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/lvis_evaluation.py:390
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/sem_seg_evaluation.py:206
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/citypersons_evaluation.py:351
↓ 1 callersFunction_dump_to_markdown
Dump a Markdown file that records the model evaluation metrics and corresponding scores to the current working directory. Args:
cvpods/evaluation/panoptic_evaluation.py:177
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in self._predictions. Fill self._results with the metrics for "box_proposals" task.
cvpods/evaluation/widerface_evaluation.py:194
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in self._predictions. Fill self._results with the metrics for "box_proposals" task.
cvpods/evaluation/lvis_evaluation.py:180
↓ 1 callersMethod_eval_classification_accuracy
Evaluate self._predictions on the classification task. Fill self._results with the metrics of the tasks.
cvpods/evaluation/longtail_classification_evaluation.py:112
↓ 1 callersMethod_eval_classification_accuracy
Evaluate self._predictions on the classification task. Fill self._results with the metrics of the tasks.
cvpods/evaluation/classification_evaluation.py:106
↓ 1 callersMethod_eval_image
(self, preds: list, gt: list, type_str: str = "box")
cvpods/analyser/tide/ap.py:190
↓ 1 callersMethod_eval_image
(self, preds: list, gt: list)
cvpods/analyser/tide/quantify.py:228
↓ 1 callersMethod_eval_longtail_subgroup_accuracy
(self, preds, target)
cvpods/evaluation/longtail_classification_evaluation.py:170
↓ 1 callersMethod_eval_predictions
Evaluate self._predictions on the given tasks. Fill self._results with the metrics of the tasks.
cvpods/evaluation/widerface_evaluation.py:147
↓ 1 callersMethod_eval_predictions
Evaluate self._predictions on the given tasks. Fill self._results with the metrics of the tasks.
cvpods/evaluation/lvis_evaluation.py:135
↓ 1 callersMethod_eval_predictions
Evaluate self._predictions on the given tasks. Fill self._results with the metrics of the tasks.
cvpods/evaluation/citypersons_evaluation.py:155
↓ 1 callersMethod_eval_predictions
Evaluate self._predictions on the given tasks. Fill self._results with the metrics of the tasks.
cvpods/evaluation/crowdhuman_evaluation.py:187
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official COCO API recall evaluation code. Howev
cvpods/evaluation/coco_evaluation.py:417
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official COCO API recall evaluation code. Howev
cvpods/evaluation/widerface_evaluation.py:361
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official LVIS API recall evaluation code. Howev
cvpods/evaluation/lvis_evaluation.py:259
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
cvpods/evaluation/coco_evaluation.py:526
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
cvpods/evaluation/widerface_evaluation.py:470
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
cvpods/evaluation/citypersons_evaluation.py:308
↓ 1 callersMethod_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
cvpods/evaluation/rotated_coco_evaluation.py:199
↓ 1 callersFunction_evaluate_predictions_on_crowdhuman
Evaluate the coco results using COCOEval API.
cvpods/evaluation/crowdhuman_evaluation.py:311
↓ 1 callersFunction_evaluate_predictions_on_lvis
Evaluate the lvis results using LVISEval API.
cvpods/evaluation/lvis_evaluation.py:366
↓ 1 callersFunction_find_free_port
Find an available port of current machine / node.
cvpods/engine/launch.py:18
↓ 1 callersFunction_flatten_to_tuple
(outputs)
cvpods/analyser/analysis.py:103
↓ 1 callersFunction_freeze_module
(module)
cvpods/modeling/nn_utils/module_converter.py:79
↓ 1 callersFunction_generate_optimizer_class_with_gradient_clipping
Dynamically creates a new type that inherits the type of a given instance and overrides the `step` method to add gradient clipping
cvpods/solver/build.py:44
↓ 1 callersFunction_generic_activation_jit
This is a generic jit handle that counts the number of activations for any operation given the output shape. Args:
cvpods/modeling/nn_utils/jit_handles.py:141
↓ 1 callersFunction_get_activation_fn
Return an activation function given a string
playground/detection/coco/sparse_rcnn/sparse_rcnn.res50.fpn.coco.multiscale.3x/head.py:308
↓ 1 callersMethod_get_c2_detectron_baseline
(name)
cvpods/checkpoint/catalog.py:77
↓ 1 callersMethod_get_c2_imagenet_pretrained
(name)
cvpods/checkpoint/catalog.py:69
↓ 1 callersFunction_get_clones
(module, N)
playground/detection/coco/sparse_rcnn/sparse_rcnn.res50.fpn.coco.multiscale.3x/head.py:304
↓ 1 callersFunction_get_coco_panoptic_separated_meta
Returns metadata for "separated" version of the panoptic segmentation dataset.
cvpods/data/datasets/builtin_meta.py:208
↓ 1 callersMethod_get_epoch_indices
Create a list of dataset indices (with repeats) to use for one epoch. Args: generator (torch.Generator): pseudo random n
cvpods/data/samplers/distributed_sampler.py:148
↓ 1 callersMethod_get_ground_truth
Returns: gt_objectness_logits: list of N tensors. Tensor i is a vector whose length is the total number of anchor
cvpods/modeling/proposal_generator/rpn_outputs.py:247
↓ 1 callersMethod_get_ignored_classes
(self, image_id: int)
cvpods/analyser/tide/data.py:28
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/widerface.py:256
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/crowdhuman.py:193
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/imagenet.py:89
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/lvis.py:241
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/objects365.py:286
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/citypersons.py:325
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/voc.py:123
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/coco.py:378
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/imagenetlt.py:88
↓ 1 callersMethod_get_metadata
(self)
cvpods/data/datasets/cityscapes.py:263
↓ 1 callersMethod_get_repeat_factors
Compute (fractional) per-image repeat factors. Args: See __init__. Returns: torch.Tensor: the i-th
cvpods/data/samplers/distributed_sampler.py:110
↓ 1 callersFunction_gif_decode
(data)
cvpods/data/detection_utils.py:465
↓ 1 callersFunction_import_file
(module_name, file_path, make_importable=False)
cvpods/utils/env/env.py:54
↓ 1 callersMethod_infer_shape
(ctx, input, weight)
cvpods/layers/deform_conv.py:291
↓ 1 callersMethod_inference_one_image
Args: input (dict): one dataset dict Returns: dict: one output dict
cvpods/modeling/test_time_augmentation.py:174
↓ 1 callersMethod_inference_one_image
(self, inputs)
cvpods/modeling/test_time_augmentation.py:302
↓ 1 callersMethod_inference_one_image
(self, inputs)
cvpods/modeling/test_time_augmentation.py:387
↓ 1 callersMethod_infinite_indices
(self)
cvpods/data/samplers/distributed_sampler.py:56
↓ 1 callersMethod_infinite_indices
(self)
cvpods/data/samplers/distributed_sampler.py:175
↓ 1 callersMethod_init_box_head
(self, cfg)
cvpods/modeling/roi_heads/roi_heads.py:466
↓ 1 callersMethod_init_box_pooler
(cfg, input_shape)
playground/detection/coco/sparse_rcnn/sparse_rcnn.res50.fpn.coco.multiscale.3x/head.py:67
↓ 1 callersMethod_init_head
(self, cfg, feature_shapes)
cvpods/modeling/meta_arch/solo.py:87
↓ 1 callersMethod_init_keypoint_head
(self, cfg)
cvpods/modeling/roi_heads/roi_heads.py:526
← previousnext →501–600 of 2,734, ranked by callers