MCPcopy Create free account

hub / github.com/OpenGVLab/HumanBench / functions

Functions1,842 in github.com/OpenGVLab/HumanBench

↓ 1 callersMethod__init__
(self, rank, num_workers)
PATH/core/testers/tester_deter.py:12
↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bia
PATH/core/models/ops/conv2d_helpers.py:36
↓ 1 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
PATH/core/models/ops/hrt_helpers/ffn_block.py:14
↓ 1 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None)
PATH/core/models/ops/hrt_helpers/bottleneck_block.py:19
↓ 1 callersMethod__init__
(self, local_group_size=7)
PATH/core/models/ops/hrt_helpers/multihead_isa_attention.py:24
↓ 1 callersMethod__init__
( self, embed_dim, num_heads, dropout=0.0, bias=True, add_bias
PATH/core/models/ops/hrt_helpers/multihead_attention.py:26
↓ 1 callersMethod__init__
(self, normalized_shape, eps=1e-6, data_format="channels_last")
PATH/core/models/decoders/pose_decodes/pose_decoder.py:25
↓ 1 callersMethod__init__
(self, embed_dim, eps=1e-6)
PATH/core/models/decoders/peddet_decoders/aio_head.py:24
↓ 1 callersMethod__init__
(self, sample_weight=None, size_average=True)
PATH/core/models/decoders/losses/pedattr_losses.py:25
↓ 1 callersMethod__init__
(self, target_type, use_target_weight=True, cfg=None)
PATH/core/models/decoders/losses/pos_losses.py:8
↓ 1 callersMethod__init__
(self, C_train, C_test)
PATH/core/solvers/solver_multitask_dev.py:911
↓ 1 callersMethod__init__
(self, rank, num_workers)
PATH/core/solvers/solver_deter.py:24
↓ 1 callersMethod__init__
(self, x=0.0, y=0.0, w=0.0, h=0.0, tag=None, score=0.0, color=None)
PATH/core/solvers/utils/detools/box.py:223
↓ 1 callersMethod__int__
(self)
PATH/core/models/decoders/losses/matcher.py:195
↓ 1 callersMethod__len__
(self)
PATH/core/data/datasets/images/peddet_dataset_dev.py:222
↓ 1 callersMethod__len__
(self)
PATH/core/data/datasets/images/seg_dataset_dev.py:259
↓ 1 callersMethod__len__
(self)
PATH/core/data/datasets/images/peddet_dataset.py:243
↓ 1 callersMethod__repr__
Produce something like: "MyTransform(field1={self.field1}, field2={self.field2})"
PATH/core/data/transforms/seg_transforms_dev.py:217
↓ 1 callersMethod__repr__
(self)
PATH/core/models/ops/boxes.py:240
↓ 1 callersMethod__repr__
(self)
PATH/core/models/decoders/losses/criterion.py:371
↓ 1 callersFunction_apply
(x: Union[torch.Tensor, np.ndarray, Dict, List, Tuple, Set])
PATH/core/models/ckpt.py:33
↓ 1 callersMethod_apply
Apply the transforms on the input. Args: x: input to apply the transform operations. meth (str): meth.
PATH/core/data/transforms/seg_transforms_dev.py:281
↓ 1 callersMethod_approx_sq_grad
( self, exp_avg_sq_row: torch.Tensor, exp_avg_sq_col: torch.Tensor, output: to
PATH/core/optimizers/adafactor.py:117
↓ 1 callersFunction_as_tensor
An equivalent of `torch.as_tensor`, but works under tracing.
PATH/core/models/decoders/losses/point_features.py:20
↓ 1 callersFunction_batch_hard
(mat_distance, mat_similarity, indice=False)
PATH/core/models/decoders/losses/classification_losses.py:40
↓ 1 callersFunction_calc_distances
Calculate the normalized distances between preds and target. Note: batch_size: N num_keypoints: K dimension of keypoints:
PATH/core/data/transforms/post_transforms.py:356
↓ 1 callersMethod_cat_each
(self, feat1, feat2, feat3, feat4, feat5)
PATH/core/models/decoders/seg_decoders/spatial_ocr_block.py:494
↓ 1 callersFunction_check_img_dtype
(img)
PATH/core/data/transforms/seg_transforms_dev.py:362
↓ 1 callersFunction_check_img_dtype
(img)
PATH/core/data/transforms/sparsercnn_peddet_transforms_helpers/augmentation.py:27
↓ 1 callersMethod_coco_keypoint_results_one_category_kernel
Get coco keypoint results.
PATH/core/data/datasets/images/pos_dataset.py:337
↓ 1 callersMethod_coco_keypoint_results_one_category_kernel
Get coco keypoint results.
PATH/core/solvers/utils/pos_tester_dev.py:311
↓ 1 callersMethod_compute_single_scale
(self, feats, probs, dh, dw)
PATH/core/models/decoders/seg_decoders/spatial_ocr_block.py:98
↓ 1 callersMethod_correct_split_info
(self, head, neck, waist, foot, version=0)
PATH/core/augmentation.py:844
↓ 1 callersMethod_correct_split_info
(self, head, neck, waist, foot, version=0)
PATH/core/data/transforms/reid_transforms.py:540
↓ 1 callersMethod_deactivate
(self)
PATH/core/fp16/amp.py:83
↓ 1 callersFunction_distance_acc
Return the percentage below the distance threshold, while ignoring distances values with -1. Note: batch_size: N Args: di
PATH/core/data/transforms/post_transforms.py:385
↓ 1 callersMethod_encode_label
(self, labelmap)
PATH/core/data/datasets/images/parsing_dataset.py:433
↓ 1 callersMethod_evaluate_predictions_on_crowdhuman
Evaluate the coco results using COCOEval API.
PATH/core/solvers/utils/peddet_tester_dev.py:185
↓ 1 callersMethod_fast_hist
(self, label_true, label_pred, n_class)
PATH/core/utils.py:830
↓ 1 callersMethod_getDrawColor
:meth: get color for drawing bounding box :return: 3-D tuple as color, default white as (255,255,255)
PATH/core/solvers/utils/detools/box.py:149
↓ 1 callersMethod_getDrawLine
:meth: get line size for drawing bounding box :param bold: if bold the bounding box or not, default False :type bold: bool
PATH/core/solvers/utils/detools/box.py:156
↓ 1 callersFunction_get_activation
Return an activation function given a string
PATH/core/models/decoders/peddet_decoders/aio_head.py:43
↓ 1 callersFunction_get_aug_input_args
Get the arguments to be passed to ``aug.get_transform`` from the input ``aug_input``.
PATH/core/data/transforms/seg_transforms_dev.py:374
↓ 1 callersFunction_get_aug_input_args
Get the arguments to be passed to ``aug.get_transform`` from the input ``aug_input``.
PATH/core/data/transforms/sparsercnn_peddet_transforms_helpers/augmentation.py:39
↓ 1 callersMethod_get_augmented_inputs
(self, input)
PATH/core/models/tta.py:154
↓ 1 callersMethod_get_crop_region
(self, img, aug_type)
PATH/core/augmentation.py:936
↓ 1 callersMethod_get_crop_region
(self, img, aug_type)
PATH/core/data/transforms/reid_transforms.py:632
↓ 1 callersMethod_get_db
Load dataset.
PATH/core/data/datasets/images/pos_dataset_dev.py:186
↓ 1 callersMethod_get_db
Load dataset.
PATH/core/data/datasets/images/pos_dataset_dev.py:500
↓ 1 callersMethod_get_db
Load dataset.
PATH/core/data/datasets/images/pos_dataset.py:157
↓ 1 callersMethod_get_db
Load dataset.
PATH/core/data/datasets/images/multi_posedataset.py:207
↓ 1 callersMethod_get_deconv_cfg
Get configurations for deconv layers.
PATH/core/models/decoders/pose_decodes/pose_decoder.py:776
↓ 1 callersMethod_get_lr
(self)
PATH/core/utils.py:252
↓ 1 callersMethod_get_lr
(self, param_group: ParamGroup, param_state: State)
PATH/core/optimizers/adafactor.py:93
↓ 1 callersMethod_get_mapping_id_name
Args: imgs (dict): dict of image info. Returns: tuple: Image name & id mapping dicts. - id2name
PATH/core/data/datasets/images/pos_dataset_dev.py:166
↓ 1 callersMethod_get_mapping_id_name
Args: imgs (dict): dict of image info. Returns: tuple: Image name & id mapping dicts. - id2name
PATH/core/data/datasets/images/pos_dataset.py:137
↓ 1 callersMethod_get_mapping_id_name
Args: imgs (dict): dict of image info. Returns: tuple: Image name & id mapping dicts. - id2name
PATH/core/data/datasets/images/multi_posedataset.py:187
↓ 1 callersMethod_get_new_lr
(self)
PATH/core/lr_scheduler/base.py:33
↓ 1 callersMethod_get_normalize_factor
Get the normalize factor. generally inter-ocular distance measured as the Euclidean distance between the outer corners of the eyes is
PATH/core/data/datasets/images/pos_dataset_dev.py:489
↓ 1 callersMethod_get_options
( self, param_group: ParamGroup, param_shape: Tuple[int, ...] )
PATH/core/optimizers/adafactor.py:107
↓ 1 callersMethod_get_tgt_permutation_idx
(self, indices)
PATH/core/models/decoders/losses/criterion.py:316
↓ 1 callersMethod_get_tgt_permutation_idx
(self, indices)
PATH/core/models/decoders/losses/criterion.py:519
↓ 1 callersMethod_get_tgt_permutation_idx
(self, indices)
PATH/core/models/decoders/losses/criterion.py:729
↓ 1 callersFunction_half_helper
(verbose=False)
PATH/core/fp16/amp.py:104
↓ 1 callersMethod_inference_one_image
Args: input (dict): one dataset dict with "image" field being a CHW tensor Returns: dict: one output dict
PATH/core/models/tta.py:126
↓ 1 callersMethod_init_client
(self, server_ip, server_port)
PATH/core/msg_server.py:77
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
PATH/core/models/decoders/pose_decodes/pose_decoder.py:663
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/datasets/images/peddet_dataset_dev.py:148
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/datasets/images/peddet_dataset.py:162
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/datasets/images/reid_dataset.py:187
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/datasets/images/parsing_dataset.py:217
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/datasets/images/parsing_dataset.py:1217
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/test_datasets/images/reid_dataset.py:100
↓ 1 callersMethod_init_memcached
(self)
PATH/core/data/test_datasets/images/reid_dataset.py:303
↓ 1 callersMethod_is_split_info_valid
(self, head, neck, waist, foot)
PATH/core/augmentation.py:837
↓ 1 callersMethod_is_split_info_valid
(self, head, neck, waist, foot)
PATH/core/data/transforms/reid_transforms.py:533
↓ 1 callersFunction_is_static_pad
(kernel_size, stride=1, dilation=1, **_)
PATH/core/models/ops/conv2d_helpers.py:7
↓ 1 callersMethod_list_dirs
(self, data_path)
PATH/core/data/datasets/images/parsing_dataset.py:392
↓ 1 callersMethod_list_dirs
(self, image_data_path, PL_data_path)
PATH/core/data/datasets/images/parsing_dataset.py:1171
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
PATH/core/data/datasets/images/pos_dataset_dev.py:204
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
PATH/core/data/datasets/images/pos_dataset.py:174
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
PATH/core/data/datasets/images/multi_posedataset.py:224
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
PATH/core/data/datasets/images/pos_dataset_dev.py:197
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
PATH/core/data/datasets/images/pos_dataset.py:167
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
PATH/core/data/datasets/images/multi_posedataset.py:217
↓ 1 callersMethod_load_coco_person_detection_results
Load coco person detection results.
PATH/core/data/datasets/images/pos_dataset_dev.py:303
↓ 1 callersMethod_load_coco_person_detection_results
Load coco person detection results.
PATH/core/data/datasets/images/pos_dataset.py:273
↓ 1 callersMethod_load_coco_person_detection_results
Load coco person detection results.
PATH/core/data/datasets/images/multi_posedataset.py:327
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
PATH/core/models/decoders/pose_decodes/pose_decoder.py:739
↓ 1 callersMethod_minus_target_label
(self, target, value)
PATH/core/data/datasets/images/peddet_dataset_dev.py:259
↓ 1 callersMethod_minus_target_label
(self, target, value)
PATH/core/data/datasets/images/peddet_dataset.py:373
↓ 1 callersMethod_model_grads_to_master_grads
(self)
PATH/core/fp16/opt.py:262
↓ 1 callersMethod_model_params_to_master_params
(self)
PATH/core/fp16/opt.py:254
↓ 1 callersMethod_momentum_update_target_encoder
(self)
PATH/core/models/model_entry.py:68
↓ 1 callersMethod_normalization
(x)
PATH/core/models/backbones/vit.py:447
↓ 1 callersMethod_normalization
(x)
PATH/core/models/backbones/vitdet.py:419
↓ 1 callersMethod_normalization
(x)
PATH/core/models/backbones/vitdet_for_ladder_attention_share_pos_embed.py:427
↓ 1 callersMethod_normalization
(x)
PATH/core/models/backbones/vitdet_for_ladder_attention.py:419
↓ 1 callersMethod_parse_split_info
(self, correction=False)
PATH/core/augmentation.py:891
↓ 1 callersMethod_parse_split_info
(self, correction=False)
PATH/core/data/transforms/reid_transforms.py:587
← previousnext →301–400 of 1,842, ranked by callers