MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 2 callersFunctionbuild_pose_estimator
Build pose estimator.
sapiens/pose/mmpose/models/builder.py:61
↓ 2 callersFunctionbuild_post_processing
Build post processing function.
aios_repo/detrsmpl/core/post_processing/builder.py:29
↓ 2 callersFunctionbuild_post_processing
Build post processing function.
mmhuman3d/core/post_processing/builder.py:29
↓ 2 callersFunctionbuild_row
(name: str, stats: Dict[str, str], indent_lvl: int)
sapiens/engine/mmengine/analysis/print_helper.py:421
↓ 2 callersFunctionbuild_swin_transformer
(modelname, pretrain_img_size, **kw)
aios_repo/models/aios/backbones/swin_transformer.py:783
↓ 2 callersFunctionbuild_temporary_directory
Build a temporary directory containing many files to test ``FileClient.list_dir_or_file``. . \n | -- dir1 \n | -- | -- text3.txt \n
mmcv/tests/test_fileclient.py:47
↓ 2 callersMethodbuild_test_loop
Build test loop. Examples of ``loop``:: # `TestLoop` will be used loop = dict() # custom test loop
sapiens/engine/mmengine/runner/runner.py:1584
↓ 2 callersMethodbuild_test_loop
Build test loop. Examples of ``loop``:: # `TestLoop` will be used loop = dict() # custom test loop
sapiens/engine/mmengine/runner/_flexible_runner.py:1050
↓ 2 callersMethodbuild_train_loop
Build training loop. Examples of ``loop``:: # `EpochBasedTrainLoop` will be used loop = dict(by_epoch=True, max_epoc
sapiens/engine/mmengine/runner/runner.py:1492
↓ 2 callersMethodbuild_train_loop
Build training loop. Examples of ``loop``:: # `EpochBasedTrainLoop` will be used loop = dict(by_epoch=True, max_epoc
sapiens/engine/mmengine/runner/_flexible_runner.py:958
↓ 2 callersFunctionbuild_transformer_layer
Builder for transformer layer.
sapiens/cv/mmcv/cnn/bricks/transformer.py:82
↓ 2 callersFunctionbuild_transformer_layer_sequence
Builder for transformer encoder and transformer decoder.
mmcv/mmcv/cnn/bricks/transformer.py:81
↓ 2 callersFunctionbuild_vertex_closure
Builds the closure for the vertex objective
smplx_repo/transfer_model/transfer_model.py:177
↓ 2 callersMethodby_operator
Returns the statistics for a requested module, grouped by operator type. The operator handle determines the name associated with each
sapiens/engine/mmengine/analysis/jit_analysis.py:301
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you need a
sapiens/seg/mmseg/utils/tokenizer.py:56
↓ 2 callersFunctioncalc_dynamic_intervals
Calculate dynamic intervals. Args: start_interval (int): The interval used in the beginning. dynamic_interval_list (List[Tuple[in
sapiens/engine/mmengine/runner/utils.py:43
↓ 2 callersMethodcalc_reweight_factor
Compute reweight_factor for regression and classification loss.
sapiens/det/mmdet/models/dense_heads/ddod_head.py:320
↓ 2 callersMethodcalculate
Calculate the average recall. Args: pred (torch.Tensor | np.ndarray | Sequence): The prediction results. A :obj:`
sapiens/pretrain/mmpretrain/evaluation/metrics/retrieval.py:162
↓ 2 callersMethodcalculate
Calculate the precision, recall, f1-score and support. Args: pred (torch.Tensor | np.ndarray | Sequence): The prediction
sapiens/pretrain/mmpretrain/evaluation/metrics/single_label.py:526
↓ 2 callersFunctioncast_tensor_type
(x, scale=1., dtype=None)
sapiens/det/mmdet/models/task_modules/assigners/iou2d_calculator.py:36
↓ 2 callersMethodcat
Concatenate a sequence of masks into one single mask instance. Args: masks (Sequence[BitmapMasks]): A sequence of mask instances.
sapiens/det/mmdet/structures/mask/structures.py:609
↓ 2 callersFunctioncat_batch_labels
Concat a batch of label tensor to one tensor. Args: elements (List[tensor]): A batch of labels. Returns: Tuple[torch.Tensor,
sapiens/pretrain/mmpretrain/structures/utils.py:108
↓ 2 callersFunctioncenter_of_mass
Calculate the centroid coordinates of the mask. Args: mask (Tensor): The mask to be calculated, shape (h, w). esp (float): Avoid
sapiens/det/mmdet/models/utils/misc.py:385
↓ 2 callersFunctionchannel_shuffle
Channel Shuffle operation. This function enables cross-group information flow for multiple groups convolution layers. Args: x (T
sapiens/pretrain/mmpretrain/models/utils/channel_shuffle.py:33
↓ 2 callersFunctioncheck_and_update_config
Check and update the configuration of the head and neck components. Args: neck (Optional[ConfigType]): Configuration for the neck componen
sapiens/pose/mmpose/models/utils/check_and_update_config.py:122
↓ 2 callersFunctioncheck_integrity
(fpath, md5=None)
sapiens/pretrain/mmpretrain/datasets/utils.py:73
↓ 2 callersFunctioncheck_ops_exist
()
mmcv/mmcv/utils/ext_loader.py:93
↓ 2 callersFunctioncheck_prerequisites
A decorator factory to check if prerequisites are satisfied. Args: prerequisites (str of list[str]): Prerequisites to be checked.
mmcv/mmcv/utils/misc.py:229
↓ 2 callersFunctioncheck_prerequisites
A decorator factory to check if prerequisites are satisfied. Args: prerequisites (str of list[str]): Prerequisites to be checked.
sapiens/engine/mmengine/utils/misc.py:289
↓ 2 callersMethodclean
Perform text cleaning before tokenizer.
sapiens/pretrain/mmpretrain/datasets/transforms/processing.py:1701
↓ 2 callersFunctionclean_checkpoint
(checkpoint_path)
sapiens/pretrain/tools/misc/finetune_clean_checkpoints.py:56
↓ 2 callersFunctionclean_checkpoint
(checkpoint_path)
sapiens/pretrain/tools/misc/pretrain_clean_checkpoints.py:56
↓ 2 callersFunctionclean_checkpoint
(checkpoint_path)
sapiens/pretrain/tools/misc/clean_checkpoints.py:56
↓ 2 callersFunctionclip_coordinates
mmcv/mmcv/ops/csrc/onnxruntime/cpu/gridSample.cpp:40
↓ 2 callersMethodclose
Close the Aim.
sapiens/engine/mmengine/visualization/vis_backend.py:1464
↓ 2 callersFunctionclosure
(backward=True)
torch-trust-ncg/examples/ToyExamples/main.py:71
↓ 2 callersFunctionclosure
(backward=True)
smplx_repo/transfer_model/transfer_model.py:155
↓ 2 callersFunctioncol
(A)
smplx_repo/transfer_model/utils/mesh_utils.py:48
↓ 2 callersFunctioncollate_pose_sequence
Reorganize multi-frame pose detection results into individual pose sequences. Note: - The temporal length of the pose detection resul
sapiens/pose/mmpose/apis/inference_3d.py:160
↓ 2 callersFunctioncollect_env
Collect the information of the running environments. Returns: dict: The environment information. The following fields are contained.
sapiens/engine/mmengine/utils/dl_utils/collect_env.py:56
↓ 2 callersFunctioncollect_env
Collect the information of the running environments.
sapiens/seg/mmseg/utils/collect_env.py:36
↓ 2 callersFunctioncollect_results
(result_part, size, tmpdir=None)
aios_repo/util/distribute_utils.py:158
↓ 2 callersFunctioncollect_results_cpu
Collect results in cpu.
aios_repo/detrsmpl/apis/test.py:116
↓ 2 callersFunctioncompute_dtm
compute the distance transform map of foreground in mask Args: img_gt: Ground truth of the image, (b, h, w) pred: Predictions
sapiens/seg/mmseg/models/losses/huasdorff_distance_loss.py:42
↓ 2 callersMethodcompute_edges
(self, points, connections)
smplx_repo/transfer_model/losses/losses.py:148
↓ 2 callersMethodcompute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
sapiens/det/mmdet/evaluation/metrics/voc_metric.py:137
↓ 2 callersMethodcompute_pose3d
Compute 3D pose from 2D pose, depth, and per-keypoint camera intrinsics. Args: depth: Tensor of shape (B, N_keypoints) r
sapiens/pose/mmpose/models/heads/heatmap_heads/pose3d_heatmap_head.py:200
↓ 2 callersMethodcompute_position_embedding
(self)
sapiens/pretrain/mmpretrain/models/utils/position_encoding.py:237
↓ 2 callersMethodcompute_recall
Compute the recall of occluded or separated masks. Args: result_dict (dict): Processed mask results. gt_ann (list): O
sapiens/det/mmdet/evaluation/metrics/coco_occluded_metric.py:175
↓ 2 callersMethodcompute_smplx_hand_pose_loss
Compute loss for smplx left/right hand pose.
aios_repo/detrsmpl/models/architectures/expressive_mesh_estimator.py:428
↓ 2 callersMethodcompute_smplx_hand_pose_loss
Compute loss for smplx left/right hand pose.
mmhuman3d/models/architectures/expressive_mesh_estimator.py:433
↓ 2 callersFunctionconcat_images
Concat images of different size.
aios_repo/detrsmpl/models/utils/SMPLX.py:209
↓ 2 callersMethodcondition_attend_previous
Set attend previous.
sapiens/pretrain/mmpretrain/models/multimodal/flamingo/modules.py:389
↓ 2 callersMethodcondition_media_locations
Set condition media locations.
sapiens/pretrain/mmpretrain/models/multimodal/flamingo/modules.py:385
↓ 2 callersMethodcondition_vis_x
Set condition vision features.
sapiens/pretrain/mmpretrain/models/multimodal/flamingo/modules.py:381
↓ 2 callersMethodconstruct_target
Construct the reconstruction target. In addition to splitting images into tokens, this module will also normalize the image according
sapiens/pretrain/mmpretrain/models/heads/mae_head.py:95
↓ 2 callersFunctioncontour_expand
Expand kernel contours so that foreground pixels are assigned into instances. Args: kernel_mask (np.array or torch.Tensor): The insta
mmcv/mmcv/ops/contour_expand.py:35
↓ 2 callersMethodcontrast
Contrast distortion. Args: img (np.ndarray): The input image. Returns: np.ndarray: Image after contrast chang
sapiens/seg/mmseg/datasets/transforms/transforms.py:693
↓ 2 callersFunctionconv3x3
3x3 convolution with padding.
mmcv/mmcv/cnn/resnet.py:35
↓ 2 callersFunctionconv3x3
3x3 convolution with padding.
sapiens/cv/mmcv/cnn/resnet.py:40
↓ 2 callersFunctionconvert_K_3x3_to_4x4
Convert opencv 3x3 intrinsic matrix to 4x4. Args: K (Union[torch.Tensor, np.ndarray]): Input 3x3 intrinsic matrix, left mm de
aios_repo/detrsmpl/core/conventions/cameras/convert_convention.py:364
↓ 2 callersFunctionconvert_K_3x3_to_4x4
Convert opencv 3x3 intrinsic matrix to 4x4. Args: K (Union[torch.Tensor, np.ndarray]): Input 3x3 intrinsic matrix, left mm de
mmhuman3d/core/conventions/cameras/convert_convention.py:366
↓ 2 callersFunctionconvert_bbox_to_intrinsic
Convert bbox to intrinsic parameters. Args: bbox (np.ndarray): (frame, num_person, 4), (frame, 4), or (4,) img_width (int): image
aios_repo/detrsmpl/utils/demo_utils.py:180
↓ 2 callersFunctionconvert_bbox_to_intrinsic
Convert bbox to intrinsic parameters. Args: bbox (np.ndarray): (frame, num_person, 4) or (frame, 4) img_width (int): image width
mmhuman3d/utils/demo_utils.py:176
↓ 2 callersMethodconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
sapiens/pretrain/mmpretrain/models/utils/tokenizer.py:179
↓ 2 callersFunctionconvert_crowdhuman
Convert CrowdHuman dataset in COCO style. Args: ann_dir (str): The path of CrowdHuman dataset. save_dir (str): The path to save a
sapiens/det/tools/dataset_converters/crowdhuman2coco.py:64
↓ 2 callersMethodconvert_frozen_batchnorm
Convert BatchNorm/SyncBatchNorm in module into FrozenBatchNorm. Args: module (torch.nn.Module): Returns: If
aios_repo/detrsmpl/models/architectures/expressive_mesh_estimator.py:831
↓ 2 callersMethodconvert_frozen_batchnorm
Convert BatchNorm/SyncBatchNorm in module into FrozenBatchNorm. Args: module (torch.nn.Module): Returns: If
mmhuman3d/models/architectures/expressive_mesh_estimator.py:840
↓ 2 callersFunctionconvert_grounding_to_cls_scores
Convert logits to class scores.
sapiens/det/mmdet/models/dense_heads/atss_vlfusion_head.py:59
↓ 2 callersMethodconvert_orig_cam_to_matrix
Compute intrinsic camera matrix from orig_cam parameter of smpl. .. code-block:: python r > 1:: K = [[sx*r, 0
aios_repo/detrsmpl/core/cameras/cameras.py:452
↓ 2 callersMethodconvert_orig_cam_to_matrix
Compute intrinsic camera matrix from orig_cam parameter of smpl. .. code-block:: python r > 1:: K = [[sx*r, 0
mmhuman3d/core/cameras/cameras.py:466
↓ 2 callersFunctionconvert_reduce_type
mmcv/mmcv/ops/csrc/pytorch/scatter_points.cpp:24
↓ 2 callersFunctionconvert_reduce_type
sapiens/cv/mmcv/ops/csrc/pytorch/scatter_points.cpp:24
↓ 2 callersFunctionconvert_sync_batchnorm
Helper function to convert all `BatchNorm` layers in the model to `SyncBatchNorm` (SyncBN) or `mmcv.ops.sync_bn.SyncBatchNorm` (MMSyncBN) laye
sapiens/engine/mmengine/model/utils.py:238
↓ 2 callersMethodcopy_grads_to_fp32
Copy gradients from fp16 model to fp32 weight copy.
mmcv/mmcv/runner/hooks/optimizer.py:264
↓ 2 callersMethodcopy_params_to_fp16
Copy updated params from fp32 weight copy to fp16 model.
mmcv/mmcv/runner/hooks/optimizer.py:274
↓ 2 callersMethodcorner2hbox
Convert box coordinates from corners ((x1, y1), (x2, y1), (x1, y2), (x2, y2)) to (x1, y1, x2, y2). Args: corners (Tensor)
sapiens/det/mmdet/structures/bbox/horizontal_boxes.py:248
↓ 2 callersFunctioncorrelation_backward
mmcv/mmcv/ops/csrc/parrots/correlation.cpp:38
↓ 2 callersFunctioncorrelation_backward
sapiens/cv/mmcv/ops/csrc/parrots/correlation.cpp:38
↓ 2 callersFunctioncorrelation_forward
mmcv/mmcv/ops/csrc/parrots/correlation.cpp:29
↓ 2 callersFunctioncorrelation_forward
sapiens/cv/mmcv/ops/csrc/parrots/correlation.cpp:29
↓ 2 callersFunctioncreate_positive_map
construct a map such that positive_map[i,j] = True if box i is associated to token j Args: tokenized: The tokenized input. to
sapiens/det/mmdet/models/detectors/glip.py:126
↓ 2 callersFunctioncreate_positive_map_label_to_token
Create a dictionary mapping the label to the token. Args: positive_map (Tensor): The positive map tensor. plus (int, optional): Va
sapiens/det/mmdet/models/detectors/glip.py:179
↓ 2 callersMethodcriterion
Criterion of wingloss. Note: batch_size: N num_keypoints: K dimension of keypoints: D (D=2 or D=3)
sapiens/pose/mmpose/models/losses/regression_loss.py:354
↓ 2 callersMethodcrop
Crop from ``img`` Args: img (np.ndarray): Original input image. crop_bbox (tuple): Coordinates of the cropped image.
sapiens/seg/mmseg/datasets/transforms/albedo_transforms.py:207
↓ 2 callersMethodcrop
Crop from ``img`` Args: img (np.ndarray): Original input image. crop_bbox (tuple): Coordinates of the cropped image.
sapiens/seg/mmseg/datasets/transforms/depth_transforms.py:185
↓ 2 callersMethodcrop
Crop from ``img`` Args: img (np.ndarray): Original input image. crop_bbox (tuple): Coordinates of the cropped image.
sapiens/seg/mmseg/datasets/transforms/transforms.py:1800
↓ 2 callersMethodcrop
Crop from ``img`` Args: img (np.ndarray): Original input image. crop_bbox (tuple): Coordinates of the cropped image.
sapiens/seg/mmseg/datasets/transforms/pointmap_transforms.py:221
↓ 2 callersMethodcrop
Crop from ``img`` Args: img (np.ndarray): Original input image. crop_bbox (tuple): Coordinates of the cropped image.
sapiens/seg/mmseg/datasets/transforms/normal_transforms.py:187
↓ 2 callersMethodcrop
Crop from ``img`` Args: img (np.ndarray): Original input image. crop_bbox (tuple): Coordinates of the cropped image.
sapiens/seg/mmseg/datasets/transforms/general_transforms.py:207
↓ 2 callersMethodcrop_mask_preds
Crop predicted masks by zeroing out everything not in the predicted bbox. Args: mask_preds (list[Tensor]): Predicted prot
sapiens/det/mmdet/models/dense_heads/yolact_head.py:941
↓ 2 callersMethodcurrent_frame
Get the current frame (frame that is just visited). Returns: ndarray or None: If the video is fresh, return None, otherwise
mmcv/mmcv/video/io.py:209
↓ 2 callersMethodcutmix_bbox_and_lam
Generate bbox and apply lambda correction. Args: img_shape (tuple): Image shape as tuple lam (float): Cutmix lambda v
sapiens/pretrain/mmpretrain/models/utils/batch_augments/cutmix.py:143
↓ 2 callersFunctioncvt_annotations
(devkit_path, years, split, out_file)
sapiens/det/tools/dataset_converters/pascal_voc.py:97
↓ 2 callersMethoddecode
(self, tokens)
sapiens/seg/mmseg/utils/tokenizer.py:193
↓ 2 callersMethoddecompress_keypoints
If a key contains 'keypoints', and f'{key}_mask' is in self.keys(), invalid zeros will be inserted to the right places and f'{key}_mask'
aios_repo/detrsmpl/data/data_structures/human_data.py:1069
↓ 2 callersFunctiondeform_conv_backward_input
mmcv/mmcv/ops/csrc/parrots/deform_conv.cpp:260
↓ 2 callersFunctiondeform_conv_backward_input
sapiens/cv/mmcv/ops/csrc/parrots/deform_conv.cpp:260
↓ 2 callersFunctiondeform_conv_backward_parameters
mmcv/mmcv/ops/csrc/parrots/deform_conv.cpp:392
↓ 2 callersFunctiondeform_conv_backward_parameters
sapiens/cv/mmcv/ops/csrc/parrots/deform_conv.cpp:392
← previousnext →2,401–2,500 of 19,095, ranked by callers